refactor: enhance news handling and improve content display in various components

This commit is contained in:
Ardeman
2025-03-09 11:36:47 +08:00
parent bad5294030
commit 4847ef2be3
11 changed files with 161 additions and 26 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export const NewsDetailPage = () => {
</div>
<div className="mt-8 flex items-center justify-center">
<article className="prose prose-stone">
<article className="prose prose-headings:my-0.5 prose-p:my-0.5">
{content && htmlParse(content)}
</article>
</div>