fix: 改用grid布局,一行两个居中
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@
|
|||||||
.content { padding: 30px; }
|
.content { padding: 30px; }
|
||||||
|
|
||||||
.image-grid {
|
.image-grid {
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-wrap: wrap;
|
grid-template-columns: repeat(2, 140px);
|
||||||
gap: 30px;
|
gap: 30px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user