diff options
author | Volpeon <git@volpeon.ink> | 2023-02-23 08:39:45 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-02-23 08:39:45 +0100 |
commit | 0c46d920f81702b6231d68d4e17ccf5447bc4801 (patch) | |
tree | e3442a2144516072df02285c73dd9cec8dd0da5c /src | |
parent | Action Button valign fix (diff) | |
download | iro-design-0c46d920f81702b6231d68d4e17ccf5447bc4801.tar.gz iro-design-0c46d920f81702b6231d68d4e17ccf5447bc4801.tar.bz2 iro-design-0c46d920f81702b6231d68d4e17ccf5447bc4801.zip |
Fix
Diffstat (limited to 'src')
-rw-r--r-- | src/_utils.scss | 6 | ||||
-rw-r--r-- | src/layouts/_container.scss | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/_utils.scss b/src/_utils.scss index 3c5ed8c..3e4fac3 100644 --- a/src/_utils.scss +++ b/src/_utils.scss | |||
@@ -50,6 +50,12 @@ $dirs: ( | |||
50 | display: none; | 50 | display: none; |
51 | } | 51 | } |
52 | } | 52 | } |
53 | |||
54 | @include iro.bem-suffix('empty') { | ||
55 | &:empty { | ||
56 | display: none; | ||
57 | } | ||
58 | } | ||
53 | } | 59 | } |
54 | 60 | ||
55 | @include iro.bem-utility('ta-left') { | 61 | @include iro.bem-utility('ta-left') { |
diff --git a/src/layouts/_container.scss b/src/layouts/_container.scss index b567119..da1ff0c 100644 --- a/src/layouts/_container.scss +++ b/src/layouts/_container.scss | |||
@@ -27,6 +27,8 @@ | |||
27 | ), 'xs'); | 27 | ), 'xs'); |
28 | 28 | ||
29 | @include iro.bem-layout(iro.props-namespace()) { | 29 | @include iro.bem-layout(iro.props-namespace()) { |
30 | box-sizing: border-box; | ||
31 | |||
30 | @each $size in 'narrow-125' 'narrow' 'narrow-75' { | 32 | @each $size in 'narrow-125' 'narrow' 'narrow-75' { |
31 | @include iro.bem-modifier($size) { | 33 | @include iro.bem-modifier($size) { |
32 | max-width: fn.dim(--#{$size}); | 34 | max-width: fn.dim(--#{$size}); |