diff options
| author | Mark Otto <[email protected]> | 2013-03-11 01:16:08 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-11 01:16:08 -0700 |
| commit | d0e1b56603a56abe94f99c30d94737dbe6ecae27 (patch) | |
| tree | d8a39c791870de43a4c3a12c8d66efeae393eccc /less/code.less | |
| parent | d344ca4475ce305f799e5899f9abd0d91a52536b (diff) | |
| parent | 5054c17ab86948a4885c35165b0802e5e60d1ee6 (diff) | |
| download | bootstrap-d0e1b56603a56abe94f99c30d94737dbe6ecae27.tar.xz bootstrap-d0e1b56603a56abe94f99c30d94737dbe6ecae27.zip | |
Merge pull request #7181 from lukeapage/3.0.0-wip
make less files compile with strict maths in 1.4.0
Diffstat (limited to 'less/code.less')
| -rw-r--r-- | less/code.less | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/less/code.less b/less/code.less index 1adb3efd4..c28b42fdd 100644 --- a/less/code.less +++ b/less/code.less @@ -8,7 +8,7 @@ code, pre { padding: 0 3px 2px; #font > #family > .monospace; - font-size: @font-size-base - 2; + font-size: (@font-size-base - 2); color: @grayDark; border-radius: 4px; } @@ -25,9 +25,9 @@ code { // Blocks of code pre { display: block; - padding: (@line-height-base - 1) / 2; - margin: 0 0 @line-height-base / 2; - font-size: @font-size-base - 1; // 14px to 13px + padding: ((@line-height-base - 1) / 2); + margin: 0 0 (@line-height-base / 2); + font-size: (@font-size-base - 1); // 14px to 13px line-height: @line-height-base; word-break: break-all; word-wrap: break-word; |
