mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
tighten padding on labels and badges given default line-height
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
// Base
|
||||
.badge {
|
||||
padding: 2px 10px 3px;
|
||||
padding: 1px 9px 2px;
|
||||
font-size: @baseFontSize * .925;
|
||||
font-weight: bold;
|
||||
white-space: nowrap;
|
||||
color: @white;
|
||||
background-color: @grayLight;
|
||||
.border-radius(10px);
|
||||
.border-radius(9px);
|
||||
}
|
||||
|
||||
// Hover state
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
// Base
|
||||
.label {
|
||||
padding: 2px 4px 3px;
|
||||
font-size: @baseFontSize * .85;
|
||||
padding: 1px 4px 2px;
|
||||
font-size: @baseFontSize * .846;
|
||||
font-weight: bold;
|
||||
white-space: nowrap;
|
||||
color: @white;
|
||||
|
||||
Reference in New Issue
Block a user