From b4449489032cc6ce919a16e0629885b87882582e Mon Sep 17 00:00:00 2001 From: BOTAlex Date: Sun, 31 Mar 2024 07:22:04 +0200 Subject: [PATCH] Fixed firefox, because of firefox limitation --- src/routes/zhen/Comps/TopAnimatedBackground.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/routes/zhen/Comps/TopAnimatedBackground.svelte b/src/routes/zhen/Comps/TopAnimatedBackground.svelte index 21b9a3d..ab32c2c 100644 --- a/src/routes/zhen/Comps/TopAnimatedBackground.svelte +++ b/src/routes/zhen/Comps/TopAnimatedBackground.svelte @@ -6,7 +6,7 @@ // Params let mouseMoveScale: number = 0.25; - let targetTextLenght: number = 70; + let targetTextLenght: number = 80; // Site variables let mousePos: Vector2; @@ -93,7 +93,7 @@
{#each {length: 100} as _, i} @@ -131,7 +131,8 @@ padding: 0; - transition: all 1000ms cubic-bezier(0.16, 1.63, 0.01, 0.99); + transition: transform 1000ms cubic-bezier(0.16, 1.63, 0.01, 0.99); + -moz-transition: none; justify-content: center; vertical-align: middle;