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