浏览代码

fix: update image gallery styles (#15301)

Wu Tianwei 1 月之前
父节点
当前提交
fcd9fd8513
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/app/components/base/image-gallery/style.module.css

+ 2 - 2
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;