0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

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

Binary file not shown.

View File

@ -3425,8 +3425,8 @@ a.thumbnail:hover {
padding: 9px; padding: 9px;
} }
.label { .label {
padding: 2px 4px 3px; padding: 1px 4px 2px;
font-size: 11.049999999999999px; font-size: 10.998px;
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
color: #ffffff; color: #ffffff;
@ -3471,15 +3471,15 @@ a.thumbnail:hover {
background-color: #1a1a1a; background-color: #1a1a1a;
} }
.badge { .badge {
padding: 2px 10px 3px; padding: 1px 9px 2px;
font-size: 12.025px; font-size: 12.025px;
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
color: #ffffff; color: #ffffff;
background-color: #999999; background-color: #999999;
-webkit-border-radius: 10px; -webkit-border-radius: 9px;
-moz-border-radius: 10px; -moz-border-radius: 9px;
border-radius: 10px; border-radius: 9px;
} }
.badge:hover { .badge:hover {
color: #ffffff; color: #ffffff;

View File

@ -3,13 +3,13 @@
// Base // Base
.badge { .badge {
padding: 2px 10px 3px; padding: 1px 9px 2px;
font-size: @baseFontSize * .925; font-size: @baseFontSize * .925;
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
color: @white; color: @white;
background-color: @grayLight; background-color: @grayLight;
.border-radius(10px); .border-radius(9px);
} }
// Hover state // Hover state

View File

@ -3,8 +3,8 @@
// Base // Base
.label { .label {
padding: 2px 4px 3px; padding: 1px 4px 2px;
font-size: @baseFontSize * .85; font-size: @baseFontSize * .846;
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
color: @white; color: @white;