box-sizing on grid childs

This commit is contained in:
Raphael Goetter 2015-12-24 09:18:58 +01:00
parent e514522b08
commit bde9e261a7
7 changed files with 63 additions and 59 deletions

View file

@ -30,6 +30,7 @@
/* grid childs */
[class*="@{kna-namespace}grid-"] > * {
box-sizing: border-box;
flex: 0 0 auto;
width: ~'calc(100% * 1 / @{number} - @{gutter} - .01px)';
margin-left: @gutter;