From 3855bf1d78830c131905db4e50d6f14aaf14ad29 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 15 Nov 2024 21:51:21 +0100 Subject: Fix --- src/objects/_tabs.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_tabs.scss b/src/objects/_tabs.scss index 5526f95..0bc3c6e 100644 --- a/src/objects/_tabs.scss +++ b/src/objects/_tabs.scss @@ -19,10 +19,6 @@ block-size: 100%; padding-inline: props.get(vars.$tab--pad-i); - @include bem.elem('caret') { - display: none; - } - @include bem.elem('tab') { position: relative; display: flex; @@ -84,6 +80,10 @@ } } + @include bem.elem('caret') { + display: none; + } + @include bem.modifier('accent') { @include bem.elem('tab') { &::after { @@ -99,15 +99,15 @@ @include bem.is('collapsed') { @include bem.elem('tab') { display: none; + + @include bem.is('selected') { + display: flex; + } } @include bem.elem('caret') { display: block; } - - @include bem.is('selected') { - display: flex; - } } } } -- cgit v1.2.3-70-g09d2