mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
UX: Text wasn't centered properly in badge notification.
This commit is contained in:
parent
66f14ab0b8
commit
2332422a85
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue