Skip to content

Commit 99fe7a9

Browse files
committed
Merge pull request #19 from sg00dwin/label-margin-fix
Move multiple filter spacing from margin-left to margin-right so that…
2 parents 1b222e4 + 675b4ac commit 99fe7a9

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

labelFilter.css

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@
404404
.selectize-control.multi .selectize-input [data-value] {
405405
padding: 0 6px;
406406
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
407-
-webkit-border-radius: 1px;
408-
-moz-border-radius: 1px;
409-
border-radius: 1px;
407+
-webkit-border-radius: 2px;
408+
-moz-border-radius: 2px;
409+
border-radius: 2px;
410410
background-color: #006e9c;
411411
background-image: -moz-linear-gradient(top, #006e9c, #006e9c);
412412
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#006e9c), to(#006e9c));
@@ -497,9 +497,11 @@
497497
.filter .active-filters .label-filter-active-filters .label {
498498
background: #006e9c;
499499
display: inline-block;
500+
border-radius: 2px;
500501
font-weight: normal;
501502
padding-bottom: .3em;
502503
padding-top: .3em;
504+
margin-left: 0;
503505
margin-right: 3px;
504506
max-width: 350px;
505507
word-wrap: break-word;
@@ -514,16 +516,3 @@
514516
margin-top: 0;
515517
}
516518
}
517-
@media (min-width: 992px) {
518-
.filter .active-filters {
519-
margin-top: 0;
520-
}
521-
.filter .active-filters .label-filter-active-filters :first-child {
522-
margin-right: 0;
523-
}
524-
.filter .active-filters .label-filter-active-filters .label + .label {
525-
margin-left: 3px;
526-
margin-top: 2px;
527-
margin-right: 0;
528-
}
529-
}

0 commit comments

Comments
 (0)