From 32d1258a9b85205d3bb0a11699039ea3baf51cca Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 23 Nov 2024 15:12:41 +0100 Subject: Update --- src/objects/_tabbar.scss | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/objects/_tabbar.scss') diff --git a/src/objects/_tabbar.scss b/src/objects/_tabbar.scss index 218fe7d..b1cdcb9 100644 --- a/src/objects/_tabbar.scss +++ b/src/objects/_tabbar.scss @@ -18,11 +18,17 @@ box-shadow: 0 calc(-1 * props.get(vars.$indicator--width)) 0 0 props.get(vars.$railing--bg-color) inset; @include bem.elem('tabs') { - display: flex; - gap: props.get(vars.$spacing); - block-size: 100%; - padding-inline: calc(.5 * props.get(vars.$spacing)); - margin-inline: calc(-.5 * props.get(vars.$spacing)); + display: flex; + gap: props.get(vars.$spacing); + block-size: 100%; + padding-inline-start: calc(.5 * props.get(vars.$spacing)); + margin-inline-start: calc(-.5 * props.get(vars.$spacing)); + + &::after { + display: block; + inline-size: props.get(vars.$spacing); + content: ''; + } } @include bem.modifier('quiet') { -- cgit v1.2.3-70-g09d2