From 1179cfb0ff4ff62120b6d0089947b5c38e1ded4a Mon Sep 17 00:00:00 2001 From: reverend Date: Sun, 23 Aug 2020 14:40:03 +0200 Subject: [PATCH] Refactoring and stripped a feature --- components/01_Layouts/flexGrid/_flexGrid.scss | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/components/01_Layouts/flexGrid/_flexGrid.scss b/components/01_Layouts/flexGrid/_flexGrid.scss index fe4c8e7..7ee4c83 100644 --- a/components/01_Layouts/flexGrid/_flexGrid.scss +++ b/components/01_Layouts/flexGrid/_flexGrid.scss @@ -1,33 +1,13 @@ -@mixin RV-FlexGrid--sameHeight($-inline: false) { - @if $-inline { - grid-auto-rows: 1fr; - } - - @if not $-inline { - &__Container { - grid-auto-rows: 1fr; - } - } -} - @mixin RV-FlexGrid($item_width: 300px, $item_height: 300px) { &__Container { display: grid; grid-template-columns: repeat(auto-fill, minmax($item_width, 1fr)); grid-template-rows: repeat(auto-fill, $item_height); grid-auto-rows: $item_height; - - &--sameHeight { - @include RV-FlexGrid--sameHeight(true); - } - - &--spacing { - gap: 10px; - } } &__Item { - @include RV-AlignContent; + @include RV-Alignment; } }