diff --git a/src/routes/(DefaultStyle)/[slug]/grid.svelte b/src/routes/(DefaultStyle)/[slug]/grid.svelte index 8ac7850..868e6cf 100644 --- a/src/routes/(DefaultStyle)/[slug]/grid.svelte +++ b/src/routes/(DefaultStyle)/[slug]/grid.svelte @@ -50,13 +50,12 @@ justify-content: center; aspect-ratio: 1/0.6; max-height: 200px; + max-width: 100%; } img { - display: block; - max-width: 100%; - max-height: 100%; + width: 100%; + height: 100%; object-fit: contain; - margin-inline: auto; transition: transform .3s ease-out; } .emoji {