Skip to content

Commit f14f410

Browse files
committed
fix(style): update data attribute class in authenticated layout
1 parent eabc3ab commit f14f410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/layout/authenticated-layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ export function AuthenticatedLayout({ children }: AuthenticatedLayoutProps) {
2626

2727
// If layout is fixed, set the height
2828
// to 100svh to prevent overflow
29-
'has-[[data-layout=fixed]]:h-svh',
29+
'has-data-[layout=fixed]:h-svh',
3030

3131
// If layout is fixed and sidebar is inset,
3232
// set the height to 100svh - spacing (total margins) to prevent overflow
33-
'peer-data-[variant=inset]:has-[[data-layout=fixed]]:h-[calc(100svh-(var(--spacing)*4))]'
33+
'peer-data-[variant=inset]:has-data-[layout=fixed]:h-[calc(100svh-(var(--spacing)*4))]'
3434
)}
3535
>
3636
{children ?? <Outlet />}

0 commit comments

Comments
 (0)