summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/objects/_tabs.scss16
1 files changed, 8 insertions, 8 deletions
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 @@
19 block-size: 100%; 19 block-size: 100%;
20 padding-inline: props.get(vars.$tab--pad-i); 20 padding-inline: props.get(vars.$tab--pad-i);
21 21
22 @include bem.elem('caret') {
23 display: none;
24 }
25
26 @include bem.elem('tab') { 22 @include bem.elem('tab') {
27 position: relative; 23 position: relative;
28 display: flex; 24 display: flex;
@@ -84,6 +80,10 @@
84 } 80 }
85 } 81 }
86 82
83 @include bem.elem('caret') {
84 display: none;
85 }
86
87 @include bem.modifier('accent') { 87 @include bem.modifier('accent') {
88 @include bem.elem('tab') { 88 @include bem.elem('tab') {
89 &::after { 89 &::after {
@@ -99,15 +99,15 @@
99 @include bem.is('collapsed') { 99 @include bem.is('collapsed') {
100 @include bem.elem('tab') { 100 @include bem.elem('tab') {
101 display: none; 101 display: none;
102
103 @include bem.is('selected') {
104 display: flex;
105 }
102 } 106 }
103 107
104 @include bem.elem('caret') { 108 @include bem.elem('caret') {
105 display: block; 109 display: block;
106 } 110 }
107
108 @include bem.is('selected') {
109 display: flex;
110 }
111 } 111 }
112 } 112 }
113} 113}