mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
chore(layout): update layout to remove full height and adjust min-height
This commit is contained in:
parent
833a79d6d0
commit
c12f734831
@ -4,7 +4,8 @@ import { ThemeProvider } from "@/components/theme-provider";
|
|||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "monaco-editor-lsp-next",
|
title: "monaco-editor-lsp-next",
|
||||||
description: "A Next.js integration of Monaco Editor with LSP support, free from SSR issues",
|
description:
|
||||||
|
"A Next.js integration of Monaco Editor with LSP support, free from SSR issues",
|
||||||
};
|
};
|
||||||
|
|
||||||
interface RootLayoutProps {
|
interface RootLayoutProps {
|
||||||
@ -13,17 +14,15 @@ interface RootLayoutProps {
|
|||||||
|
|
||||||
export default function RootLayout({ children }: RootLayoutProps) {
|
export default function RootLayout({ children }: RootLayoutProps) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" className="h-full" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<body className="flex min-h-full antialiased">
|
<body className="flex min-h-screen antialiased">
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
attribute="class"
|
attribute="class"
|
||||||
defaultTheme="system"
|
defaultTheme="system"
|
||||||
enableSystem
|
enableSystem
|
||||||
disableTransitionOnChange
|
disableTransitionOnChange
|
||||||
>
|
>
|
||||||
<div className="w-full">
|
<div className="w-full">{children}</div>
|
||||||
{children}
|
|
||||||
</div>
|
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user