fix responsive issue

This commit is contained in:
conanak99 2023-02-27 22:30:52 +08:00
parent 44fd6bce34
commit b5e31c8fef

View File

@ -10,7 +10,7 @@ def generate_html():
.character-gallery {
margin: 1rem 0;
display: grid;
grid-template-columns: repeat(4, minmax(150px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
grid-column-gap: 0.4rem;
grid-row-gap: 1.2rem;
}