Skip to content

Commit

Permalink
UI: Improve styling
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying committed May 7, 2023
1 parent fcfe13e commit f8c2909
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/assets/multiselect.scss
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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' }"
>
Expand Down

0 comments on commit f8c2909

Please sign in to comment.