Преглед на файлове

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;