From 1c742f1ce8f5f819f20d06910d99a941f53fef4f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 24 Nov 2024 20:29:56 +0100 Subject: Split view --- src/layouts/_split-view.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/layouts/_split-view.scss') diff --git a/src/layouts/_split-view.scss b/src/layouts/_split-view.scss index fe7bc87..7234687 100644 --- a/src/layouts/_split-view.scss +++ b/src/layouts/_split-view.scss @@ -15,10 +15,6 @@ gap: props.get(vars.$col-gap); align-items: start; - @include bem.modifier('gapless') { - gap: props.get(vars.$gapless); - } - @include bem.elem('panel') { flex: 1 1 auto; inline-size: 100%; @@ -50,6 +46,16 @@ } } + @include bem.modifier('gapless') { + gap: props.get(vars.$gapless); + + @include bem.elem('panel') { + @include bem.modifier('side-25') { + min-inline-size: calc(props.get(vars.$panel--side-25--min) + props.get(vars.$col-gap) - props.get(vars.$gapless)); + } + } + } + @include bem.elem('content') { inline-size: 100%; } -- cgit v1.2.3-70-g09d2