Fix: Samll Width View

This commit is contained in:
kaniwow 2023-03-28 10:51:15 +08:00
parent de692d6891
commit 3716b8259a

View file

@ -3,7 +3,10 @@
display: grid; display: grid;
grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
margin-left: -3px; margin-left: -3px;
@media screen and (max-width: 30em) { @media screen and (max-width: 23em) {
grid-template-columns: 1fr;
}
@media screen and (min-width: 23em) and (max-width: 30em) {
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
} }
} }