Media query for mobile

This commit is contained in:
Bradley Shellnut 2022-07-10 12:55:30 -07:00 committed by GitHub
parent ce62df044a
commit 3c1cd6e13d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,8 +129,8 @@
</Portal>
{/if}
<h1>Games</h1>
<div class="games">
<h1>Games</h1>
{#each games as game}
<Game detailed={false} {game} />
{/each}
@ -183,6 +183,10 @@
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
@media(max-width: 580px) {
grid-template-columns: 1fr;
}
}
.description {