@avalanche/object-grid
Advanced tools
Comparing version 4.0.0-alpha.9 to 4.0.0-alpha.10
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "4.0.0-alpha.9", | ||
"version": "4.0.0-alpha.10", | ||
"author": "Markus Oberlehner", | ||
@@ -12,0 +12,0 @@ "homepage": "https://avalanche.oberlehner.net/", |
@@ -83,2 +83,5 @@ # @avalanche/object-grid | ||
## Clear negative margin | ||
To compensate for the vertical spacing of the grid items, the base grid block element (`.o-grid`) uses a negative value for margin top. If the grid is the first element inside a wrapping element, this can lead to an odd behavior where the negative margin is carried over by the wrapping element. You need to clear the negative margin by adding a [clearfix](https://avalanche.oberlehner.net/packages/utility-clearfix/) to the wrapping element. See the following CodePen for an example of the problem and how to solve it: [http://codepen.io/moberlehner/pen/BpJVGO](http://codepen.io/moberlehner/pen/BpJVGO). | ||
## Mixins | ||
@@ -85,0 +88,0 @@ ```scss |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9951
108