From 68fcdb612232b4c3b2a25049c6116405b8d970a1 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 7 Jul 2025 00:30:43 +0800 Subject: [PATCH] Fix project images scroll (#34971) (#34972) --- web_src/css/features/projects.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_src/css/features/projects.css b/web_src/css/features/projects.css index 7fd5150970..25cb530f85 100644 --- a/web_src/css/features/projects.css +++ b/web_src/css/features/projects.css @@ -71,7 +71,7 @@ .card-attachment-images { display: inline-block; white-space: nowrap; - overflow: scroll; + overflow: auto; cursor: default; scroll-snap-type: x mandatory; text-align: center; @@ -85,6 +85,7 @@ scroll-snap-align: center; margin-right: 2px; aspect-ratio: 1; + object-fit: contain; } .card-attachment-images img:only-child {