fix: strip existing sso param from clientUrl, add aria roles to dropdowns, add x-pathname fallback, move .dropdown-menu into @layer components
This commit is contained in:
1 parent
7e616ca6b3
commit
187af2e147
4 files changed
+37
-37
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ export default async function RootLayout({ children }: { children: ReactNode })
|
||||
const defaultDark = await siteSettings.getBool("default_dark", false);
|
||||
|
||||
const headersList = await headers();
|
||||
const pathname = headersList.get("x-pathname") || "";
|
||||
const pathname = headersList.get("x-pathname") || headersList.get("next-url") || "";
|
||||
const isClient = pathname === "/client" || pathname.startsWith("/client/");
|
||||
return (
|
||||
<html lang={locale} className={`app ${nunito.variable}`}>
|
||||
|
||||
Reference in new issue
Block a user