summaryrefslogtreecommitdiffstats
path: root/src/objects/_card.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_card.scss')
-rw-r--r--src/objects/_card.scss19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/objects/_card.scss b/src/objects/_card.scss
index 0be38c9..3126775 100644
--- a/src/objects/_card.scss
+++ b/src/objects/_card.scss
@@ -77,7 +77,8 @@
77 } 77 }
78 78
79 @include iro.bem-elem('body') { 79 @include iro.bem-elem('body') {
80 flex: 1 0 auto; 80 flex: 0 1 auto;
81 block-size: 100%;
81 padding-block: props.get(vars.$pad-b); 82 padding-block: props.get(vars.$pad-b);
82 padding-inline: props.get(vars.$pad-i); 83 padding-inline: props.get(vars.$pad-i);
83 84
@@ -181,5 +182,21 @@
181 padding-inline: 0; 182 padding-inline: 0;
182 } 183 }
183 } 184 }
185
186 @include fw.bem-modifier('horizontal') {
187 flex-direction: row;
188 align-items: center;
189
190 @include iro.bem-elem('body') {
191 flex: 0 0 auto;
192 block-size: auto;
193
194 @include iro.bem-modifier('main') {
195 flex-shrink: 1;
196 inline-size: 100%;
197 min-inline-size: 0;
198 }
199 }
200 }
184 } 201 }
185} 202}