diff options
-rw-r--r-- | src/layouts/_media.scss | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/layouts/_media.scss b/src/layouts/_media.scss index 1227486..c42aa3e 100644 --- a/src/layouts/_media.scss +++ b/src/layouts/_media.scss | |||
@@ -34,11 +34,14 @@ $sizes: 'gapless' 'sm' 'lg' 'xl' !default; | |||
34 | @include iro.bem-elem('block') { | 34 | @include iro.bem-elem('block') { |
35 | flex: 0 0 auto; | 35 | flex: 0 0 auto; |
36 | 36 | ||
37 | @include iro.bem-modifier('main') { | 37 | @include iro.bem-modifier('shrink', 'main') { |
38 | flex-shrink: 1; | 38 | flex-shrink: 1; |
39 | inline-size: 100%; | ||
40 | min-inline-size: 0; | 39 | min-inline-size: 0; |
41 | } | 40 | } |
41 | |||
42 | @include iro.bem-modifier('main') { | ||
43 | inline-size: 100%; | ||
44 | } | ||
42 | } | 45 | } |
43 | } | 46 | } |
44 | } | 47 | } |