1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 12:59:05 +02:00

make less files compile with strict maths in 1.4.0

This commit is contained in:
Luke Page
2013-03-06 16:38:20 +00:00
parent bfdc6f8607
commit 5054c17ab8
9 changed files with 57 additions and 57 deletions

View File

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