fixed markdown light mode

This commit is contained in:
2024-08-13 15:03:43 +08:00
parent ecda1e9987
commit 0f765cd833
2 changed files with 2 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ export default function CommunityPage() {
</div>
<div>
<Markdown
className="prose *:text-white text-white"
className="prose dark:*:text-white dark:text-white"
remarkPlugins={[remarkGfm]}
>
{post.content}

View File

@@ -222,7 +222,7 @@ const PostPage: React.FC = () => {
</div>
<div>
<Markdown
className="prose *:text-white text-white"
className="prose dark:*:text-white dark:text-white"
remarkPlugins={[remarkGfm]}
>
{post.content}