From 9fd05ef8bf6da662b6dcc3d30133b126ab39eaa6 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 24 Nov 2024 19:24:25 +0100 Subject: Split view --- src/layouts/_split-view.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/layouts/_split-view.scss b/src/layouts/_split-view.scss index 2744510..0b75542 100644 --- a/src/layouts/_split-view.scss +++ b/src/layouts/_split-view.scss @@ -44,6 +44,10 @@ position: sticky; inset-block-start: calc(props.get(vars.$panel--sticky-400--inset) + props.get(vars.$panel--sticky-offset)); } + + @include bem.modifier('fill') { + block-size: 100dvh; + } } @include bem.elem('content') { @@ -60,8 +64,8 @@ } @include bem.elem('panel') { - flex: 1 1 auto; - + inline-size: auto; + @include bem.modifier('side-25') { inline-size: auto; min-inline-size: 0; @@ -70,6 +74,10 @@ @include bem.modifier('sticky', 'sticky-400') { position: static; } + + @include bem.modifier('fill') { + block-size: auto; + } } } } -- cgit v1.2.3-70-g09d2