From ea8350bb610650c3dcc20b80d3cc85c0e8bd76b7 Mon Sep 17 00:00:00 2001 From: Sonny Date: Sun, 10 Nov 2024 00:46:46 +0100 Subject: [PATCH] fix: scrolling at bottom of page when switching from one page to another --- inertia/styles/index.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inertia/styles/index.css b/inertia/styles/index.css index e87781f..cc1a475 100644 --- a/inertia/styles/index.css +++ b/inertia/styles/index.css @@ -11,10 +11,12 @@ body { } .__transition_fadeIn { + transform-origin: 50% top; animation: fadeIn 0.15s ease both; } .__transition_fadeOut { + transform-origin: 50% top; animation: fadeOut 0.15s ease both; }