[learn-example][sm] - fix dark mode styling
This commit is contained in:
parent
d9a6ea4ef1
commit
cc43597130
@ -36,7 +36,7 @@ export const getStaticProps = async (context) => {
|
||||
|
||||
export default function DatasetPage({ mdxSource, frontMatter }) {
|
||||
return (
|
||||
<div className="prose mx-auto">
|
||||
<div className="prose dark:prose-invert mx-auto">
|
||||
<header>
|
||||
<div className="mb-6">
|
||||
<>
|
||||
|
||||
@ -7,7 +7,7 @@ class MyDocument extends Document {
|
||||
<Head>
|
||||
<link rel="icon" href="/favicon.png" />
|
||||
</Head>
|
||||
<body>
|
||||
<body className='bg-white dark:bg-gray-900'>
|
||||
<Main />
|
||||
<NextScript />
|
||||
</body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user