Skip to content

Commit

Permalink
Contain images with different aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
lmachens authored Dec 17, 2024
1 parent 4bc2a77 commit 58a0029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/general/FicsitCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<div class="logo max-h-full min-h-full min-w-full max-w-full bg-neutral-500" />
{:else}
<img
class="logo absolute max-h-full min-h-full min-w-full max-w-full transition-opacity delay-100 duration-200 ease-linear"
class="logo absolute max-h-full min-h-full min-w-full max-w-full transition-opacity delay-100 duration-200 ease-linear object-contain"
class:invisible={!imageLoaded}
class:opacity-0={!imageLoaded}
src={renderedLogo}
Expand Down

0 comments on commit 58a0029

Please sign in to comment.