diff options
author | Volpeon <git@volpeon.ink> | 2024-10-21 23:19:01 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-21 23:19:01 +0200 |
commit | 793065e8569cd9c6ec40df66ad4f03edab3faaca (patch) | |
tree | d10d31141c3ea30376975473f3037887879da705 /src/objects | |
parent | Update (diff) | |
download | iro-design-793065e8569cd9c6ec40df66ad4f03edab3faaca.tar.gz iro-design-793065e8569cd9c6ec40df66ad4f03edab3faaca.tar.bz2 iro-design-793065e8569cd9c6ec40df66ad4f03edab3faaca.zip |
Update card
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_card.scss | 19 |
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 | } |