fix: dynamic island test 1

This commit is contained in:
Julien Froidefond
2025-03-04 20:42:03 +01:00
parent ba466c3ad3
commit 965b14429d
4 changed files with 28 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
const locale = cookieStore.get("NEXT_LOCALE")?.value || "fr";
return (
<html lang={locale} suppressHydrationWarning>
<html lang={locale} suppressHydrationWarning className="h-full">
<head>
<meta
name="viewport"
@@ -119,7 +119,9 @@ export default async function RootLayout({ children }: { children: React.ReactNo
media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"
/>
</head>
<body className={cn("min-h-screen bg-background font-sans antialiased", inter.className)}>
<body
className={cn("min-h-screen bg-background font-sans antialiased h-full", inter.className)}
>
<I18nProvider locale={locale}>
<PreferencesProvider>
<ClientLayout>{children}</ClientLayout>