Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

One liner: Adding more specific css to target open and closing animations without affecting the resize animation (#42069)

Zachary Stallings192cbfe9995e
diff --git a/apps/studio/components/layouts/ProjectLayout/index.tsx b/apps/studio/components/layouts/ProjectLayout/index.tsx
index ebb3bc5e1cb..660c784aa41 100644
--- a/apps/studio/components/layouts/ProjectLayout/index.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/index.tsx
@@ -143,7 +143,7 @@ export const ProjectLayout = forwardRef<HTMLDivElement, PropsWithChildren<Projec
id="panel-left"
className={cn(
'hidden md:block',
- 'transition-all duration-[120ms]',
+ 'transition-[max-width,min-width,width] duration-[120ms]',
sideBarIsOpen
? resizableSidebar
? 'min-w-64 max-w-[32rem]'