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 = {
|
||||
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 {
|
||||
@ -13,17 +14,15 @@ interface RootLayoutProps {
|
||||
|
||||
export default function RootLayout({ children }: RootLayoutProps) {
|
||||
return (
|
||||
<html lang="en" className="h-full" suppressHydrationWarning>
|
||||
<body className="flex min-h-full antialiased">
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className="flex min-h-screen antialiased">
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<div className="w-full">
|
||||
{children}
|
||||
</div>
|
||||
<div className="w-full">{children}</div>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user