From 77929ec905748758f14b361cafff7299020c2737 Mon Sep 17 00:00:00 2001 From: JayPanoz Date: Mon, 21 Mar 2016 17:47:52 +0100 Subject: [PATCH] Patched rhythm.less --- less/rhythm.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/less/rhythm.less b/less/rhythm.less index ccd0c48..b47894c 100644 --- a/less/rhythm.less +++ b/less/rhythm.less @@ -27,7 +27,8 @@ margin: 0; } -.margin(@nb) { // We convert left and right to % since em will reflow with font-size +.margin(@nb) + when (@nb > 0) { // We convert left and right to % since em will reflow with font-size margin: ((@nb * (@scale / @computeScale)) + 0em) (@nb * 5%); }