From edafaec730679949a828c8d8cccf2a68e4c729dc Mon Sep 17 00:00:00 2001 From: grandeljay Date: Wed, 28 Dec 2022 17:38:02 +0100 Subject: [PATCH] Fix horizontal wish image overlay --- src/assets/css/wish-card.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/css/wish-card.css b/src/assets/css/wish-card.css index fffcc98d..57e40f83 100644 --- a/src/assets/css/wish-card.css +++ b/src/assets/css/wish-card.css @@ -49,7 +49,7 @@ } } } -.wishlist .ui.card > .image::before { +.wishlist .ui:not(.horizontal).card > .image::before { content: ''; position: absolute; top: 0; @@ -64,7 +64,7 @@ linear-gradient(0, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0) 100%); } @media (prefers-color-scheme: dark) { - .wishlist .ui.card > .image::before { + .wishlist .ui:not(.horizontal).card > .image::before { background-image: linear-gradient(180deg, rgba(27, 28, 29, 0.8) 0, transparent 100%), linear-gradient(0, rgba(27, 28, 29, 0.8) 0, transparent 100%);