From 793065e8569cd9c6ec40df66ad4f03edab3faaca Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 21 Oct 2024 23:19:01 +0200 Subject: Update card --- src/objects/_card.scss | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/objects/_card.scss') 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 @@ } @include iro.bem-elem('body') { - flex: 1 0 auto; + flex: 0 1 auto; + block-size: 100%; padding-block: props.get(vars.$pad-b); padding-inline: props.get(vars.$pad-i); @@ -181,5 +182,21 @@ padding-inline: 0; } } + + @include fw.bem-modifier('horizontal') { + flex-direction: row; + align-items: center; + + @include iro.bem-elem('body') { + flex: 0 0 auto; + block-size: auto; + + @include iro.bem-modifier('main') { + flex-shrink: 1; + inline-size: 100%; + min-inline-size: 0; + } + } + } } } -- cgit v1.2.3-70-g09d2