diff --git a/src/assets/css/default.css b/src/assets/css/default.css index c4049cae..d67cbac8 100644 --- a/src/assets/css/default.css +++ b/src/assets/css/default.css @@ -65,7 +65,7 @@ img { } /** Image */ -.ui.card > .image > img.preview{ +.ui.card > .image > img.preview { height: var(--wishPreviewHeight); object-fit: cover; object-position: 50%; diff --git a/src/assets/css/wish.css b/src/assets/css/wish.css index 6f5ad34e..4a9e43e9 100644 --- a/src/assets/css/wish.css +++ b/src/assets/css/wish.css @@ -1,5 +1,5 @@ .image.preview { - height: var(--wishPreviewHeight); + height: var(--wishPreviewHeight) !important; object-fit: cover; object-position: 50%; diff --git a/src/pages/wish.php b/src/pages/wish.php index dfd57b05..98854ccc 100644 --- a/src/pages/wish.php +++ b/src/pages/wish.php @@ -70,17 +70,19 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;