From bc7fb2f742a7f161853c59eba0c4cae7e075ea4f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 23 Nov 2024 12:40:41 +0100 Subject: Card --- src/objects/_card.scss | 2 +- src/objects/_card.vars.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/objects/_card.scss b/src/objects/_card.scss index d1463d3..6628eab 100644 --- a/src/objects/_card.scss +++ b/src/objects/_card.scss @@ -88,7 +88,7 @@ position: absolute; inset-block-end: 0; inset-inline: 0; - z-index: 10; + z-index: 5; padding-block: props.get(vars.$image-overlay--pad-b); padding-inline: props.get(vars.$image-overlay--pad-i); } diff --git a/src/objects/_card.vars.scss b/src/objects/_card.vars.scss index 9cdc177..8adbcde 100644 --- a/src/objects/_card.vars.scss +++ b/src/objects/_card.vars.scss @@ -7,8 +7,8 @@ $pad-i: props.def(--o-card--pad-i, props.get(core.$size--300)) !d $pad-b: props.def(--o-card--pad-b, props.get(core.$size--250)) !default; $spacing: props.def(--o-card--spacing, props.get(core.$size--200)) !default; $rounding: props.def(--o-card--rounding, props.get(core.$rounding)) !default; -$image-overlay--pad-i: props.def(--o-card--image-overlay--pad-i, calc(.5 * props.get($pad-i))) !default; -$image-overlay--pad-b: props.def(--o-card--image-overlay--pad-b, calc(.5 * props.get($pad-b))) !default; +$image-overlay--pad-i: props.def(--o-card--image-overlay--pad-i, props.get($pad-i)) !default; +$image-overlay--pad-b: props.def(--o-card--image-overlay--pad-b, props.get($pad-b)) !default; $hover--offset-b: props.def(--o-card--hover--offset-b, calc(-1 * props.get(core.$size--65))) !default; -- cgit v1.2.3-70-g09d2