diff --git a/scss/_labels.scss b/scss/_labels.scss index c58ddde17e6590d9679885d023208ac2917d5712..4de08ed26f97e64bc2542e0e2c3b0b3244fcb008 100644 --- a/scss/_labels.scss +++ b/scss/_labels.scss @@ -27,6 +27,17 @@ top: -1px; } +// Fix vertical alignment on floated labels in list group item +@each $breakpoint in map-keys($grid-breakpoints) { + @include media-breakpoint-up($breakpoint) { + .list-group-item .label.pull-#{$breakpoint}-left, + .list-group-item .label.pull-#{$breakpoint}-right { + position: relative; + top: #{(($line-height / .75) - 1 - .5) / 2}em; + } + } +} + // Add hover effects, but only for links a.label { @include hover-focus {