From fb7d03bf16dd89c81234898809c214fb597b1c03 Mon Sep 17 00:00:00 2001 From: sky-ash <5kyl3r@proton.me> Date: Mon, 4 Nov 2024 09:43:20 +0100 Subject: [PATCH] Path downshift> % -> px --- src/pages/Path.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Path.jsx b/src/pages/Path.jsx index 5bd979e..9a875d5 100644 --- a/src/pages/Path.jsx +++ b/src/pages/Path.jsx @@ -69,7 +69,7 @@ export default function Path() { sx={{ width: '64px', height: '64px', - top: `${downShift}%`, + top: `${(downShift) * 10}px`, left: `${leftShift}px`, transform: 'perspective(800px) rotateY(15deg) rotateX(40deg) rotateZ(-15deg)', }}