increase admin panel transition speed
All checks were successful
delpoy / build-and-deploy (push) Successful in 56s

This commit is contained in:
bytedream 2024-12-03 03:19:54 +01:00
parent 672379c27b
commit 4dc8d9b646

View File

@ -126,10 +126,10 @@
{#key $page.url.pathname}
<div
class="col-[1] row-[1] h-full w-full overflow-y-scroll overflow-x-hidden"
in:fly={{ x: transitionPrefix * window.innerWidth, duration: !transitionPrefix ? 0 : 150 }}
in:fly={{ x: transitionPrefix * window.innerWidth, duration: !transitionPrefix ? 0 : 100 }}
out:fly={{
x: transitionPrefix * -window.innerWidth,
duration: !transitionPrefix ? 0 : 150
duration: !transitionPrefix ? 0 : 100
}}
>
{@render children()}