From 5054c17ab86948a4885c35165b0802e5e60d1ee6 Mon Sep 17 00:00:00 2001 From: Luke Page Date: Wed, 6 Mar 2013 16:38:20 +0000 Subject: make less files compile with strict maths in 1.4.0 --- less/code.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'less/code.less') 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; -- cgit v1.2.3