diff options
| author | Mark Otto <[email protected]> | 2013-05-10 10:05:58 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-10 10:05:58 -0700 |
| commit | 6dee7d5abe42f726bec27e650c123fdeaed27f74 (patch) | |
| tree | 4b6c342961b4333df2a2ff0f82277692608cf887 /less/code.less | |
| parent | 231318e757fa988c85d981644b76fd0b9aa85f88 (diff) | |
| parent | 94cc3335536507124451de1c9ec673f7dfcb5c2a (diff) | |
| download | bootstrap-6dee7d5abe42f726bec27e650c123fdeaed27f74.tar.xz bootstrap-6dee7d5abe42f726bec27e650c123fdeaed27f74.zip | |
Merge pull request #7845 from aricketson/3.0.0-wip
Fix component margin and padding values to use @line-height-computed
Diffstat (limited to 'less/code.less')
| -rw-r--r-- | less/code.less | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/less/code.less b/less/code.less index d9ddbc3a4..f1bc0a0cd 100644 --- a/less/code.less +++ b/less/code.less @@ -25,8 +25,8 @@ code { // Blocks of code pre { display: block; - padding: ((@line-height-base - 1) / 2); - margin: 0 0 (@line-height-base / 2); + padding: ((@line-height-computed - 1) / 2); + margin: 0 0 (@line-height-computed / 2); font-size: (@font-size-base - 1); // 14px to 13px line-height: @line-height-base; word-break: break-all; @@ -40,7 +40,7 @@ pre { // Make prettyprint styles more spaced out for readability &.prettyprint { - margin-bottom: @line-height-base; + margin-bottom: @line-height-computed; } // Account for some code outputs that place code tags in pre tags |
