Skip to content

Commit 45768dc

Browse files
committed
Move multiple filter spacing from margin-left to margin-right so that they are left aligned when wrapped.
1 parent 841c392 commit 45768dc

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

styles/labelFilter.less

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
[data-value] {
9090
padding: 0 6px; // prevent text jump when
9191
text-shadow: 0 1px 0 rgba(0,0,0,0.2);
92-
.selectize-border-radius(1px);
92+
.selectize-border-radius(2px);
9393
.selectize-vertical-gradient(@selectize-color-item, @selectize-color-item);
9494
}
9595
}
@@ -184,9 +184,11 @@
184184
.label {
185185
background: @selectize-active-label-bg;
186186
display: inline-block;
187+
border-radius: 2px;
187188
font-weight: normal;
188189
padding-bottom: .3em;
189190
padding-top: .3em;
191+
margin-left: 0;
190192
margin-right: 3px;
191193
max-width: 350px;
192194
word-wrap: break-word;
@@ -207,25 +209,3 @@
207209
}
208210
}
209211
}
210-
211-
@media (min-width: @screen-md-min) {
212-
.filter {
213-
.active-filters {
214-
margin-top: 0;
215-
.label-filter-active-filters {
216-
:first-child {
217-
margin-right: 0;
218-
}
219-
.label {
220-
+.label {
221-
margin-left: 3px;
222-
margin-top: 2px;
223-
margin-right: 0;
224-
}
225-
}
226-
}
227-
}
228-
}
229-
}
230-
231-

0 commit comments

Comments
 (0)