From c22253f4bccc19418d106492aaca15312ce0abd9 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Thu, 19 Oct 2023 13:45:12 +0200 Subject: [PATCH] actually render correctly for FF --- src/lib/components/TitleImgParallax.svelte | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lib/components/TitleImgParallax.svelte b/src/lib/components/TitleImgParallax.svelte index 41e0986..0fcbd71 100644 --- a/src/lib/components/TitleImgParallax.svelte +++ b/src/lib/components/TitleImgParallax.svelte @@ -68,12 +68,6 @@ z-index: -10; } -@supports (-moz-appearance:none) { - .image-container{ - justify-content: inherit; - align-items: inherit; - } -} #image{ display: block; @@ -127,6 +121,11 @@ div:has(.placeholder){ opacity: 1; } +@supports (-moz-appearance:none) { + .placeholder{ + translate: -50% -50%; + } +} /* DIALOG */ dialog{