diff options
author | Volpeon <git@volpeon.ink> | 2024-11-17 10:36:39 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-11-17 10:36:39 +0100 |
commit | d999ac18441f1aac70deeab5a3864d858c7688d8 (patch) | |
tree | 2cfa18cb6afa7117a1feeb0ef8b96fe74f1c3344 | |
parent | Tabs (diff) | |
download | iro-design-d999ac18441f1aac70deeab5a3864d858c7688d8.tar.gz iro-design-d999ac18441f1aac70deeab5a3864d858c7688d8.tar.bz2 iro-design-d999ac18441f1aac70deeab5a3864d858c7688d8.zip |
Update
-rw-r--r-- | src/objects/_tabs.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/objects/_tabs.scss b/src/objects/_tabs.scss index b998120..e6315fd 100644 --- a/src/objects/_tabs.scss +++ b/src/objects/_tabs.scss | |||
@@ -17,7 +17,7 @@ | |||
17 | flex: 1 1 auto; | 17 | flex: 1 1 auto; |
18 | gap: props.get(vars.$spacing); | 18 | gap: props.get(vars.$spacing); |
19 | min-inline-size: 0; | 19 | min-inline-size: 0; |
20 | block-size: 100%; | 20 | block-size: props.get(iro.$core--size--700); |
21 | padding-inline: calc(.5 * props.get(vars.$spacing)); | 21 | padding-inline: calc(.5 * props.get(vars.$spacing)); |
22 | margin-inline: calc(-.5 * props.get(vars.$spacing)); | 22 | margin-inline: calc(-.5 * props.get(vars.$spacing)); |
23 | overflow-inline: auto; | 23 | overflow-inline: auto; |
@@ -38,6 +38,10 @@ | |||
38 | } | 38 | } |
39 | } | 39 | } |
40 | 40 | ||
41 | @include bem.modifier('adapt') { | ||
42 | block-size: 100%; | ||
43 | } | ||
44 | |||
41 | @include bem.elem('tab') { | 45 | @include bem.elem('tab') { |
42 | position: relative; | 46 | position: relative; |
43 | display: flex; | 47 | display: flex; |