fix: big overflow issue

This commit is contained in:
Xyphyn committed 2023-09-07 07:42:13 -07:00
1 parent b2c775bb98
commit e1702d642a
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -60,6 +60,7 @@
<svelte:component
this={$userSettings.expandImages ? ExpandableImage : Empty}
url={bestImageURL(post.post, false, 2048)}
class="self-start max-w-full"
>
<svelte:element
this={$userSettings.expandImages ? 'div' : 'a'}
@@ -83,7 +84,7 @@
<img
src={bestImageURL(post.post, false, 1024)}
loading="lazy"
class="max-w-full object-cover rounded-md max-h-[80vh] h-auto z-30 opacity-0 transition-opacity duration-300"
class="max-w-full w-max object-cover rounded-md max-h-[80vh] h-auto z-30 opacity-0 transition-opacity duration-300"
class:opacity-100={loaded}
width={512}
height={300}