Skip to content

Commit

Permalink
fix no style problem
Browse files Browse the repository at this point in the history
  • Loading branch information
onlycs committed Sep 20, 2024
1 parent 1604e83 commit e6a57c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@ body {
}

html,
body {
body,
main {
width: 100%;
height: 100%;
}

html {
color-scheme: dark;
}
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function RootLayout({
children: React.ReactNode
}) {
return (
<html lang="en">
<html lang="en" suppressHydrationWarning>
<body>
<ThemeProvider attribute="class" defaultTheme="dark">
{children}
Expand Down
2 changes: 2 additions & 0 deletions src/app/student/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use client';

import '@/app/globals.css';

import { InputId } from '@/components/forms';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
Expand Down

0 comments on commit e6a57c2

Please sign in to comment.