From d6ed5b7fec699e1f2fd5d295f1e444be9aa860ac Mon Sep 17 00:00:00 2001 From: Will Miao <13051207myq@gmail.com> Date: Fri, 7 Mar 2025 17:43:48 +0800 Subject: [PATCH] Align image position in card component for better display --- static/css/components/card.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/css/components/card.css b/static/css/components/card.css index d0c0212b..99e272e8 100644 --- a/static/css/components/card.css +++ b/static/css/components/card.css @@ -57,6 +57,7 @@ width: 100%; height: 100%; object-fit: cover; + object-position: center top; /* Align the top of the image with the top of the container */ } .card-footer {