diff options
Diffstat (limited to 'less/labels-badges.less')
-rw-r--r-- | less/labels-badges.less | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/less/labels-badges.less b/less/labels-badges.less index 2f15fec05f..d118a0190e 100644 --- a/less/labels-badges.less +++ b/less/labels-badges.less @@ -6,6 +6,8 @@ // Base classes .label, .badge { + display: inline-block; + padding: 2px 4px; font-size: @baseFontSize * .846; font-weight: bold; line-height: 14px; // ensure proper line-height if floated @@ -17,11 +19,11 @@ } // Set unique padding and border-radii .label { - padding: 1px 4px 2px; .border-radius(3px); } .badge { - padding: 1px 9px 2px; + padding-left: 9px; + padding-right: 9px; .border-radius(9px); } |