diff options
Diffstat (limited to 'src/objects/_tabs.scss')
-rw-r--r-- | src/objects/_tabs.scss | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/objects/_tabs.scss b/src/objects/_tabs.scss index f2e99d9..c1fcb56 100644 --- a/src/objects/_tabs.scss +++ b/src/objects/_tabs.scss | |||
@@ -12,19 +12,14 @@ | |||
12 | @include materialize-at-root(meta.module-variables('vars')); | 12 | @include materialize-at-root(meta.module-variables('vars')); |
13 | 13 | ||
14 | @include bem.object('tabs') { | 14 | @include bem.object('tabs') { |
15 | block-size: 100%; | 15 | display: flex; |
16 | overflow: hidden; | 16 | flex: 1 1 auto; |
17 | 17 | gap: props.get(vars.$spacing); | |
18 | @include bem.elem('inner') { | 18 | min-inline-size: 0; |
19 | display: flex; | 19 | block-size: 100%; |
20 | flex: 1 1 auto; | 20 | padding-inline: calc(.5 * props.get(vars.$spacing)); |
21 | gap: props.get(vars.$spacing); | 21 | margin-inline: calc(-.5 * props.get(vars.$spacing)); |
22 | min-inline-size: 0; | 22 | overflow-inline: auto; |
23 | block-size: 100%; | ||
24 | padding-inline: calc(.5 * props.get(vars.$spacing)); | ||
25 | margin-inline: calc(-.5 * props.get(vars.$spacing)); | ||
26 | overflow-inline: auto; | ||
27 | } | ||
28 | 23 | ||
29 | @include bem.elem('tab') { | 24 | @include bem.elem('tab') { |
30 | position: relative; | 25 | position: relative; |