From d64e0be4f0f73ad4d582fed8048070995f120b9f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 23 Nov 2024 16:32:37 +0100 Subject: Test --- src/objects/_tabbar.scss | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/objects/_tabbar.scss b/src/objects/_tabbar.scss index 9b6a0ef..11a025f 100644 --- a/src/objects/_tabbar.scss +++ b/src/objects/_tabbar.scss @@ -17,7 +17,6 @@ &::after { display: block; - inline-size: 100%; block-size: props.get(vars.$indicator--width); margin-block-start: calc(-1 * props.get(vars.$indicator--width)); content: ''; @@ -27,8 +26,21 @@ @include bem.elem('tabs') { display: flex; block-size: 100%; - margin-inline: calc(-.5 * props.get(vars.$spacing)); overflow-inline: auto; + + &::before, + &::after { + display: block; + content: ''; + } + + &::before { + margin-inline-start: calc(-.5 * props.get(vars.$spacing)); + } + + &::after { + margin-inline-end: calc(-.5 * props.get(vars.$spacing)); + } } @include bem.modifier('quiet') { -- cgit v1.2.3-70-g09d2