|
|
@@ -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 ?? <Outlet />}
|