UX: Text wasn't centered properly in badge notification.

This commit is contained in:
Guo Xiang Tan 2016-08-04 10:51:11 +08:00
parent 66f14ab0b8
commit 2332422a85

View file

@ -9,7 +9,7 @@
display: inline-block;
font-weight: normal;
white-space: nowrap;
@include border-radius-all(10px);
@include border-radius-all(9px);
}
// Category badges
@ -234,13 +234,16 @@
.badge-notification {
@extend %badge;
padding: 4px 5px 2px 5px;
vertical-align: middle;
color: $secondary;
font-size: 11px;
line-height: 1;
line-height: 18px;
min-width: 12px;
height: 18px;
padding: 0px 3px;
text-align: center;
background-color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 70%));
&[href] {
color: $secondary;
}