diff options
| author | Volpeon <git@volpeon.ink> | 2024-11-17 10:01:08 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-11-17 10:01:08 +0100 |
| commit | 1ab68c9292ff748413aef99cbd6fe8e7c78f2ed6 (patch) | |
| tree | d31ae52adafc5afb7f57f57fbbaf8d657251681b /src/objects | |
| parent | Fix (diff) | |
| download | iro-design-1ab68c9292ff748413aef99cbd6fe8e7c78f2ed6.tar.gz iro-design-1ab68c9292ff748413aef99cbd6fe8e7c78f2ed6.tar.bz2 iro-design-1ab68c9292ff748413aef99cbd6fe8e7c78f2ed6.zip | |
Undo tabs
Diffstat (limited to 'src/objects')
| -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; |
