cssgrid
cssgrid copied to clipboard
Problem with columns and padding
The "problem" is that if we add some padding to the columns it breaks. I don't know if it is the idea or not but it can simply fixed adding the box-sizing attribute (with prefixes).
I thought to make a pull request but first I've to know if it's a problem or not
hi, awesome grid, but i second TH3 same concern, hope to find a solution.
It's a classic issue for this kind of frameworks. If I understand correctly, your problem is that if you apply a padding around two or more columns the whole row will break.
I don't know if it is the idea or not but it can simply fixed adding the box-sizing attribute (with prefixes).
Yes, newer grid frameworks like Toast (and i guess Fundation too) uses box-sizing to fix this. I'm evaluating Toast as well, to avoid this annoying issue.
Hope this helps.