fix(home): fixed grid on home screen

This commit is contained in:
trashtemp 2021-12-26 20:47:34 +01:00
parent 716edb3318
commit e20c3ee518
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6

View file

@ -26,16 +26,10 @@
} }
.actions { .actions {
// grid-template-columns: repeat(2, 300px);
// grid-template-columns: 300px 300px;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-column: span 2;
gap: 16px;
//margin: auto;
display: grid; display: grid;
width: fit-content; grid-template-columns: repeat(2, 1fr);
align-items: stretch; gap: 16px;
flex-direction: column; max-width: 650px;
margin-bottom: 20px; margin-bottom: 20px;
a { a {
@ -49,6 +43,10 @@
margin: 0; margin: 0;
} }
} }
@media (max-width: 600px) {
grid-template-columns: repeat(1, 1fr);
}
} }
} }
} }