diff options
| author | Mark Otto <[email protected]> | 2012-02-27 21:50:54 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-27 21:50:54 -0800 |
| commit | 9ee77f2c1106513adfaa3b81588d67e99093e707 (patch) | |
| tree | 0e33cadb74e5d78409878169b6d025ccce88e474 /less | |
| parent | a7b96b3e59e6f2c5eca7d92a26780c5cfe20a815 (diff) | |
| download | bootstrap-9ee77f2c1106513adfaa3b81588d67e99093e707.tar.xz bootstrap-9ee77f2c1106513adfaa3b81588d67e99093e707.zip | |
set line-height for labels to prevent change in height when floated per #2222
Diffstat (limited to 'less')
| -rw-r--r-- | less/labels.less | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/less/labels.less b/less/labels.less index fa2ec4904..251c4f60d 100644 --- a/less/labels.less +++ b/less/labels.less @@ -6,8 +6,9 @@ padding: 1px 4px 2px; font-size: @baseFontSize * .846; font-weight: bold; - white-space: nowrap; + line-height: 13px; // ensure proper line-height if floated color: @white; + white-space: nowrap; text-shadow: 0 -1px 0 rgba(0,0,0,.25); background-color: @grayLight; .border-radius(3px); |
