From fcd9fd8513c63ae22c24cfcaba4989a71f5406c5 Mon Sep 17 00:00:00 2001 From: Wu Tianwei <30284043+WTW0313@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:32:03 +0800 Subject: [PATCH] fix: update image gallery styles (#15301) --- web/app/components/base/image-gallery/style.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/base/image-gallery/style.module.css b/web/app/components/base/image-gallery/style.module.css index 116d602508..64756a5d69 100644 --- a/web/app/components/base/image-gallery/style.module.css +++ b/web/app/components/base/image-gallery/style.module.css @@ -1,8 +1,8 @@ .item { - height: 200px; + max-height: 200px; margin-right: 8px; margin-bottom: 8px; - object-fit: cover; + object-fit: contain; object-position: center; border-radius: 8px; cursor: pointer;