style(layout): update html and body class names for full-height layout

This commit is contained in:
cfngc4594 2025-04-04 13:36:34 +08:00
parent d61f3d9b0c
commit ba11f1d5ba

View File

@ -16,8 +16,8 @@ interface RootLayoutProps {
export default function RootLayout({ children }: RootLayoutProps) { export default function RootLayout({ children }: RootLayoutProps) {
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" className="h-full" suppressHydrationWarning>
<body className="flex min-h-screen antialiased"> <body className="flex min-h-full antialiased">
<ThemeProvider <ThemeProvider
attribute="class" attribute="class"
defaultTheme="system" defaultTheme="system"