From 6057354c935186b53c22cfd9a9c6f2555994873e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 23 Nov 2024 13:11:54 +0100 Subject: Tabs --- src/objects/_tabs.scss | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/objects/_tabs.scss b/src/objects/_tabs.scss index 61085c2..80fac0b 100644 --- a/src/objects/_tabs.scss +++ b/src/objects/_tabs.scss @@ -17,28 +17,15 @@ gap: props.get(vars.$spacing); min-inline-size: 0; block-size: props.get(vars.$block-size); - padding-inline: calc(.5 * props.get(vars.$spacing)); - margin-inline: calc(-.5 * props.get(vars.$spacing)); overflow-inline: auto; - - &::after { - position: absolute; - inset-block-end: 0; - inset-inline: calc(.5 * props.get(vars.$spacing)); - z-index: -10; - block-size: props.get(vars.$indicator--width); - content: ''; - background-color: props.get(vars.$railing--bg-color); - } + box-shadow: 0 calc(-1 * props.get(vars.$indicator--width)) 0 0 props.get(vars.$railing--bg-color) inset; @include bem.modifier('quiet') { - &::after { - display: none; - } + box-shadow: none; } @include bem.modifier('adapt') { - block-size: 100%; + block-size: 100%; } @include bem.elem('tab') { -- cgit v1.2.3-70-g09d2