From f6ef585087e08b8e0785eddb7dc9088f89d9cb9e Mon Sep 17 00:00:00 2001 From: reverend Date: Wed, 10 Mar 2021 18:07:05 +0100 Subject: [PATCH] Refactoring --- components/01_Layouts/fan/_fan.styl | 4 ++-- components/01_Layouts/flexRow/_flexRow.styl | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/components/01_Layouts/fan/_fan.styl b/components/01_Layouts/fan/_fan.styl index d560bcd..18b5974 100644 --- a/components/01_Layouts/fan/_fan.styl +++ b/components/01_Layouts/fan/_fan.styl @@ -22,10 +22,10 @@ RV-Fan--horizontal(base-height, base-width) RV-BreakPoint(--localBreakPoint) +RV-Element('Surface') - RV-BreakPoint__Item() + RV-BreakPoint__Item(--localBreakPoint) +RV-Element('Base') - RV-BreakPoint__Item() + RV-BreakPoint__Item(--localBreakPoint) +RV-Squash() RV-BreakPoint__Item--outside() diff --git a/components/01_Layouts/flexRow/_flexRow.styl b/components/01_Layouts/flexRow/_flexRow.styl index 45b739f..d7990bf 100644 --- a/components/01_Layouts/flexRow/_flexRow.styl +++ b/components/01_Layouts/flexRow/_flexRow.styl @@ -28,7 +28,6 @@ RV-FlexRow--wrap() RV-FlexRow__Item() +RV-Element() flex-grow 3 - flex-shrink 3 /* * Varios relative width of items to each other @@ -37,22 +36,18 @@ RV-FlexRow__Item() RV-FlexRow__Item--narrower() +RV-Element--modifier() flex-grow 1 - flex-shrink 5 RV-FlexRow__Item--narrow() +RV-Element--modifier() flex-grow 2 - flex-shrink 4 RV-FlexRow__Item--wide() +RV-Element--modifier() flex-grow 4 - flex-shrink 2 RV-FlexRow__Item--wider() +RV-Element--modifier() flex-grow 5 - flex-shrink 1 /* * Item has always the given width