From 4c7d294b0109a3b8ffc905116a350d71deb2cf68 Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Fri, 22 Nov 2013 21:37:10 +0100 Subject: [PATCH] Less : grid bug correcting --- less/_00-config.less | 6 +++--- less/_02-grids.less | 2 +- less/knackLESS.zip | Bin 9128 -> 9123 bytes 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/less/_00-config.less b/less/_00-config.less index 79f1f5c..63c5196 100644 --- a/less/_00-config.less +++ b/less/_00-config.less @@ -27,11 +27,11 @@ // LESS mixins : don't touch or you'll be banned ;) // px to em/rem .rem(@size, @bf: @basefont){ - @rem: round((@size / 10),4); + @rem: @size / 10; font-size: unit(@rem, rem); } .em(@size, @bf: @basefont){ - @em: round((@size / @bf),4); + @em: @size / @bf; font-size: unit(@em, em); } // flow for headings @@ -40,7 +40,7 @@ @mt: unit(@marg,em); margin-top: @mt; margin-bottom: 0; - @rem: round((@size / 10),4); + @rem: @size / 10; font-size: unit(@rem, rem); @coef: ceil(1/@mt); line-height: unit((@mt * @coef)); diff --git a/less/_02-grids.less b/less/_02-grids.less index 9f24a8a..72f5ab9 100644 --- a/less/_02-grids.less +++ b/less/_02-grids.less @@ -9,7 +9,7 @@ .grid > * { display: block; padding: 0; - margin-left: @gutter; /* gutter value */ + margin-left: -@gutter; /* gutter value */ text-align: left; letter-spacing: -0.31em; text-rendering: optimizespeed; diff --git a/less/knackLESS.zip b/less/knackLESS.zip index 0d972608b037394cafc7254086d049a6dfa352a6..c457734917cab8cbc57a174e63491b21b6181273 100644 GIT binary patch delta 1640 zcmV-u2ABD$N25o7P)h>@6aWAK2mpqwc0)vY$ae1n00038000jF003VwFfC(mZf0p` zE^K9UbDdR7kJ>O0J_m{aFk)2!Rd@tgia?d9x~+O>Pb>BAB$LG5#Aa=WLaYAwj_qWX zWl>iu2ax?eJTo2-vl)DpBI7w^yhPZ-ktxpN5_Jd_KXE~Sztico-|P2gGx+-H{+<|R zjhd(|Wd{SMzzU3nv#b@QsCh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