Remove margin on compact grid#6
Conversation
|
@jamesckemp hey James, been doing some digging on this and I don't think the margin's are the problem. I've just tested this on the Groot website project, using the following HTML: and I'm not seeing the problem you're seeing. The margins aren't effecting anything and the compact grid is showing no spacing issues as seen in this screenshot... Anyway you can show me the full code you're working with (maybe privately?). Also, its worth mentioning that this website is using Normalize too. |
|
Changed the patch for the following reasons: The spacing issue arose because my base type is 10px (rather than 16px). As such, the minus margin in ems was not accurate. Convert to a pixel value and there are no longer spacing issues. Potential issue: If client uses HTML compression, the space in the HTML will be remove and the grid will show up incorrectly. |

Removed margin on grid items when using compact grid. However, it required me to use comments to remove whitespace between elements. Could be to do with my reset method? (Just using normalize).