图片列表宽高1:1

This commit is contained in:
none
2023-03-14 10:29:10 +08:00
parent df2058244b
commit 794dd0f65b
2 changed files with 4 additions and 2 deletions

View File

@@ -60,9 +60,11 @@
display: grid;
gap: 24px;
grid-template-columns: repeat(8, minmax(0, 1fr));
.imageItem {
width: 100%;
height: 150px;
height: auto;
aspect-ratio: 1/1;
background-repeat: no-repeat;
background-size: contain;
background-position: center center;