diff --git a/src/lib/components/TitleImgParallax.svelte b/src/lib/components/TitleImgParallax.svelte index 261d5b6..e1c6c45 100644 --- a/src/lib/components/TitleImgParallax.svelte +++ b/src/lib/components/TitleImgParallax.svelte @@ -133,7 +133,7 @@ dialog{ } dialog img{ max-width: calc(95vmin - 2rem); - max-height: calc(95vmin- 2rem); + max-height: 95vmin; /* cannot use calc() for some reason */ } dialog[open]::backdrop{ animation: show 200ms ease forwards;