Skip to content

Commit

Permalink
tailwind bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PalashCoder committed Jun 2, 2024
1 parent 8917d33 commit 9d26bd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en" className="dark !scroll-smooth">
<html lang="en" className="bg-gray-900 dark !scroll-smooth">
<body className={`${inter.className} dark:bg-gray-900 dark:text-white`}>
<Providers>{children}</Providers>
</body>
Expand Down
6 changes: 3 additions & 3 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import type { Config } from "tailwindcss";

const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
Expand Down

0 comments on commit 9d26bd2

Please sign in to comment.