소스 검색

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;