Skip to content

Commit 7a75c83

Browse files
authored
fix: disable layout animation on mobile (#130)
1 parent fc51c2a commit 7a75c83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/_authenticated/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function RouteComponent() {
2323
'ml-auto w-full max-w-full',
2424
'peer-data-[state=collapsed]:w-[calc(100%-var(--sidebar-width-icon)-1rem)]',
2525
'peer-data-[state=expanded]:w-[calc(100%-var(--sidebar-width))]',
26-
'transition-[width] duration-200 ease-linear',
26+
'sm:transition-[width] sm:duration-200 sm:ease-linear',
2727
'flex h-svh flex-col',
2828
'group-data-[scroll-locked=1]/body:h-full',
2929
'has-[main.fixed-main]:group-data-[scroll-locked=1]/body:h-svh'

0 commit comments

Comments
 (0)