From 38cc458fe78ec0d33ec111d68a0db674695c6fe1 Mon Sep 17 00:00:00 2001 From: Foxix Date: Sun, 5 Jan 2025 02:14:02 +0000 Subject: [PATCH] v2.1 release --- src/app/favorites/page.tsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/app/favorites/page.tsx b/src/app/favorites/page.tsx index 0564788..b6ce926 100644 --- a/src/app/favorites/page.tsx +++ b/src/app/favorites/page.tsx @@ -40,9 +40,16 @@ const Card = styled(Link)` `; const Poster = styled.div` + position: relative; width: 100%; aspect-ratio: 2/3; - object-fit: cover; + background: rgba(0, 0, 0, 0.2); + border-radius: 0.5rem; + overflow: hidden; + + img { + object-fit: cover; + } `; const Info = styled.div` @@ -146,11 +153,12 @@ export default function FavoritesPage() { > {favorite.title}