N°2847 - Multi columns layout: Fix alignment with parent (also some renaming to match conventions)

This commit is contained in:
Molkobain
2020-10-05 16:26:41 +02:00
parent be075dd695
commit 8551322cd7
6 changed files with 19 additions and 7 deletions

View File

@@ -3,8 +3,11 @@
* license http://opensource.org/licenses/AGPL-3.0
*/
$ibo-multi-column--margin-x: -16px !default; /* This is to compensate columns padding and make the whole multicolumn align with the parent borders (cf. Bootstrap rows / cols) */
$ibo-multi-column--margin-y: 0 !default;
.ibo-multi-column {
width: 100%;
display: flex;
flex-wrap: wrap;
margin: $ibo-multi-column--margin-y $ibo-multi-column--margin-x;
}