From cc843c976dcc571d5658331427dd578fc9cedf29 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 2 Dec 2024 22:25:41 +0100 Subject: Horizontal card improvements --- src/objects/_card.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/objects/_card.scss') diff --git a/src/objects/_card.scss b/src/objects/_card.scss index 1695d62..6c5bb7c 100644 --- a/src/objects/_card.scss +++ b/src/objects/_card.scss @@ -204,6 +204,21 @@ flex-direction: row; align-items: center; + @include bem.elem('image') { + align-self: stretch; + inline-size: auto; + + &:first-child { + border-start-end-radius: 0; + border-end-start-radius: props.get(vars.$rounding); + } + + &:last-child { + border-start-end-radius: props.get(vars.$rounding); + border-end-start-radius: 0; + } + } + @include bem.elem('body') { flex: 0 0 auto; -- cgit v1.2.3-70-g09d2