From 51c653487acf6313b1454a2704b09f98d4fe0ca2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 7 Nov 2024 10:56:33 +0100 Subject: Flex layout extensions --- src/layouts/_flex.scss | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/src/layouts/_flex.scss b/src/layouts/_flex.scss index 0e39167..902ecdb 100644 --- a/src/layouts/_flex.scss +++ b/src/layouts/_flex.scss @@ -4,24 +4,16 @@ @include bem.layout('flex') { display: flex; - @include bem.modifier('align-stretch') { - align-items: stretch; - } - - @include bem.modifier('align-center') { - align-items: center; - } - - @include bem.modifier('align-start') { - align-items: flex-start; + @include bem.modifier('column') { + flex-direction: column; } - @include bem.modifier('align-end') { - align-items: flex-end; + @include bem.modifier('wrap') { + flex-wrap: wrap; } - @include bem.modifier('column') { - flex-direction: column; + @include bem.modifier('wrap-reverse') { + flex-wrap: wrap-reverse; } } } -- cgit v1.2.3-70-g09d2