diff --git a/hwe/func.php b/hwe/func.php index f64c9891..1600a95d 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -477,7 +477,7 @@ function getCommandTable(General $general){ } $subList[] = [ 'value'=>Util::getClassNameFromObj($commandObj), - 'compansation'=>$commandObj->getCompensationStyle(), + 'compensation'=>$commandObj->getCompensationStyle(), 'possible'=>$commandObj->hasMinConditionMet(), 'title'=>$commandObj->getCommandDetailTitle(), 'reqArg'=>$commandObj::$reqArg, diff --git a/hwe/scss/vue-multiselect.scss b/hwe/scss/vue-multiselect.scss index 822cd14c..223d410d 100644 --- a/hwe/scss/vue-multiselect.scss +++ b/hwe/scss/vue-multiselect.scss @@ -1,5 +1,13 @@ @use "sass:math"; +$vue-multiselect-disabled-color: $white; +$vue-multiselect-disabled-bg: $gray-700; +$form-select-color: $white; +$vue-multiselect-bg: $black; +$vue-multiselect-color: $white; +$vue-multiselect-tag-color: $white; +$vue-multiselect-spinner-color: $white; + $vue-multiselect-padding-x: $form-select-padding-x !default; $vue-multiselect-padding-y: $form-select-padding-y !default; $vue-multiselect-min-height: $input-height !default; @@ -13,7 +21,7 @@ $vue-multiselect-color: $form-select-color !default; $vue-multiselect-disabled-bg: $form-select-disabled-bg !default; $vue-multiselect-disabled-color: $form-select-disabled-color !default; -$vue-multiselect-option-selected-bg: #f3f3f3 !default; +$vue-multiselect-option-selected-bg: $dark !default; $vue-multiselect-option-selected-color: $body-color !default; $vue-multiselect-option-highlight-color: #fff !default; $vue-multiselect-option-highlight-bg: $primary !default; diff --git a/hwe/ts/ReservedCommand.vue b/hwe/ts/ReservedCommand.vue index 913a7429..c2f4d8d2 100644 --- a/hwe/ts/ReservedCommand.vue +++ b/hwe/ts/ReservedCommand.vue @@ -128,33 +128,29 @@
-
+
+ + -
실행 @@ -221,13 +217,11 @@ for (const commandCategories of commandList) { if (!commandCategories.values) { continue; } - for (const [commandName, commandObj] of Object.entries( - commandCategories.values - )) { + for (const commandObj of commandCategories.values) { if (!commandObj.reqArg) { continue; } - listReqArgCommand.add(commandName); + listReqArgCommand.add(commandObj.value); } } @@ -434,7 +428,7 @@ export default defineComponent({ const pressed = Array.from({ length: maxTurn }).fill(false); pressed[0] = true; - const selectedCommand = commandList[0].values[0]; + const selectedCommand = commandList[0].values[0]; const emptyTurn: TurnObjWithTime[] = Array.from({ length: maxTurn, @@ -486,6 +480,17 @@ export default defineComponent({ @include media-breakpoint-up(md) { .commandPad { margin-left: 10px; + + .multiselect__content-wrapper { + width: 133.3%; + } + + .multiselect__single { + display: inline-block; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + } } }