mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-19 11:52:21 +01:00
Improves label and badge alignment so text aligns with baseline
This commit is contained in:
parent
5ef1fe160e
commit
220fee80bf
@ -12,7 +12,7 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: @badge-color;
|
color: @badge-color;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
vertical-align: middle;
|
vertical-align: baseline;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: @badge-bg;
|
background-color: @badge-bg;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
color: @label-color;
|
color: @label-color;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
vertical-align: middle;
|
vertical-align: baseline;
|
||||||
background-color: @gray-light;
|
background-color: @gray-light;
|
||||||
border-radius: .25em;
|
border-radius: .25em;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user