diff --git a/src/components/hanzi.astro b/src/components/hanzi.astro index 710223d..a75da4e 100644 --- a/src/components/hanzi.astro +++ b/src/components/hanzi.astro @@ -17,7 +17,7 @@ const { type, char, sub, pinyin } = Astro.props; {!!pinyin && {sub}} ) : ( -
+
{char}
) diff --git a/src/pages/_post-layout.astro b/src/pages/_post-layout.astro index 2c2346a..91aaf2a 100644 --- a/src/pages/_post-layout.astro +++ b/src/pages/_post-layout.astro @@ -53,7 +53,9 @@ const lastUpdatedDateStr = format(frontmatter.lastUpdatedDate, "dd MMM yyyy"); }
-
+
diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index 2953c79..de2eb70 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -45,7 +45,7 @@ const chars = parseMantramText(entry.body.trim()); { chars.map((char) => char.type === "linebr" ? ( -
+
) : ( ),