tighten padding on labels and badges given default line-height

This commit is contained in:
Mark Otto
2012-02-22 08:12:25 -08:00
parent a139167489
commit 92a54a7b72
4 changed files with 10 additions and 10 deletions

View File

@@ -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

View File

@@ -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;