Skip to content

Commit 9934bc2

Browse files
seyfebchristianlupus
authored andcommitted
Updated multiselect css
Signed-off-by: Sebastian Fey <[email protected]>
1 parent 643eae6 commit 9934bc2

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

src/components/EditMultiselect.vue

+29-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<fieldset>
33
<label>{{ fieldLabel }}</label>
44
<Multiselect
5-
class="edit_ms"
5+
class="edit-multiselect"
66
v-bind="$attrs"
77
v-on="$listeners"
88
/>
@@ -50,12 +50,38 @@ fieldset > label {
5050
vertical-align: top;
5151
}
5252
53-
.edit_ms {
53+
.edit-multiselect {
5454
width: calc(100% - 11em + 10px);
5555
}
5656
57-
@media(max-width:1199px) { .edit_ms {
57+
@media(max-width:1199px) { .edit-multiselect {
5858
width: 100%;
5959
}}
60+
</style>
61+
62+
<style>
63+
#app
64+
.edit-multiselect
65+
.multiselect__tags {
66+
height: auto;
67+
min-height: 34px;
68+
}
69+
70+
#app
71+
.edit-multiselect
72+
.multiselect__tags
73+
.multiselect__tags-wrap {
74+
display: flex;
75+
flex-wrap: wrap;
76+
padding-bottom: 0px;
77+
}
6078
79+
#app
80+
.edit-multiselect
81+
.multiselect__tags
82+
.multiselect__tags-wrap
83+
.multiselect__tag {
84+
flex-basis: 50px;
85+
margin-bottom: 3px;
86+
}
6187
</style>

0 commit comments

Comments
 (0)