diff --git a/src/assets/multiselect.scss b/src/assets/multiselect.scss index 53b47c16e..9ea04ca07 100644 --- a/src/assets/multiselect.scss +++ b/src/assets/multiselect.scss @@ -1,6 +1,12 @@ @import "vars.scss"; @import "node_modules/vue-multiselect/dist/vue-multiselect"; +.multiselect { + .dark & { + color: $dark-font-color; + } +} + .multiselect__tags { border-radius: 1.5rem; border: 1px solid #ced4da; @@ -14,10 +20,12 @@ .multiselect__option--highlight { background: $primary !important; + color: $dark-font-color2 !important; } .multiselect__option--highlight::after { background: $primary !important; + color: $dark-font-color2 !important; } .multiselect__tag { diff --git a/src/components/Tag.vue b/src/components/Tag.vue index b8d4a1e89..956eea3e7 100644 --- a/src/components/Tag.vue +++ b/src/components/Tag.vue @@ -6,7 +6,7 @@ 'm-2': size == 'normal', 'px-2': size == 'sm', 'py-0': size == 'sm', - 'm-1': size == 'sm', + 'mx-1': size == 'sm', }" :style="{ backgroundColor: item.color, fontSize: size == 'sm' ? '0.7em' : '1em' }" >