diff --git a/src/components/layout/authenticated-layout.tsx b/src/components/layout/authenticated-layout.tsx index b1bf66177..003e6e28d 100644 --- a/src/components/layout/authenticated-layout.tsx +++ b/src/components/layout/authenticated-layout.tsx @@ -26,11 +26,11 @@ export function AuthenticatedLayout({ children }: AuthenticatedLayoutProps) { // If layout is fixed, set the height // to 100svh to prevent overflow - 'has-[[data-layout=fixed]]:h-svh', + 'has-data-[layout=fixed]:h-svh', // If layout is fixed and sidebar is inset, // set the height to 100svh - spacing (total margins) to prevent overflow - 'peer-data-[variant=inset]:has-[[data-layout=fixed]]:h-[calc(100svh-(var(--spacing)*4))]' + 'peer-data-[variant=inset]:has-data-[layout=fixed]:h-[calc(100svh-(var(--spacing)*4))]' )} > {children ?? }