fix: switch max-w-max to max-w-full in expandable images
This commit is contained in:
1 file changed
+3
-3
@@ -52,11 +52,11 @@
|
|||||||
use:focusTrap
|
use:focusTrap
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
width={600}
|
width={800}
|
||||||
height={600}
|
height={800}
|
||||||
src={page.state.openImage}
|
src={page.state.openImage}
|
||||||
class={[
|
class={[
|
||||||
'max-w-max mx-auto my-auto overscroll-contain bg-white dark:bg-zinc-900',
|
'max-w-full mx-auto my-auto overscroll-contain bg-white dark:bg-zinc-900',
|
||||||
]}
|
]}
|
||||||
transition:scale={{ start: 0.95, easing: expoOut, duration: 250 }}
|
transition:scale={{ start: 0.95, easing: expoOut, duration: 250 }}
|
||||||
{alt}
|
{alt}
|
||||||
|
|||||||
Reference in new issue
Block a user