From ed676dfd28c8ed89ec42f6cad05442aa7d108000 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 20 Oct 2024 21:00:54 +0200 Subject: Fix --- src/objects/_card.scss | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_card.scss b/src/objects/_card.scss index 0e19dae..ffe52d6 100644 --- a/src/objects/_card.scss +++ b/src/objects/_card.scss @@ -88,16 +88,23 @@ } @include iro.bem-modifier('hidden') { - position: absolute; - inset-block-end: 0; - inset-inline: 0; - z-index: 10; - visibility: hidden; - background-color: props.get(vars.$bg-color); - opacity: 0; + position: absolute; + inset-block-end: 0; + inset-inline: 0; + z-index: 10; + visibility: hidden; + background-color: props.get(vars.$bg-color); + border-end-start-radius: props.get(vars.$rounding); + border-end-end-radius: props.get(vars.$rounding); + opacity: 0; transition: opacity .2s ease, visibility 0s .2s linear; + + @include iro.bem-next-elem('image') { + border-start-start-radius: props.get(vars.$rounding); + border-start-end-radius: props.get(vars.$rounding); + } } } -- cgit v1.2.3-70-g09d2