make the grid responsive
This commit is contained in:
parent
b4fa7dcefc
commit
44fd6bce34
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ def generate_html():
|
|||
.character-gallery {
|
||||
margin: 1rem 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
grid-template-columns: repeat(4, minmax(150px, 1fr));
|
||||
grid-column-gap: 0.4rem;
|
||||
grid-row-gap: 1.2rem;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue