From 9940eb5cbd64c8384c92f061a45fa64c47649cf6 Mon Sep 17 00:00:00 2001 From: SeeLey Wang Date: Tue, 10 Sep 2024 21:16:11 +0800 Subject: [PATCH] small style change --- zbook_frontend/src/components/TableOfContent.tsx | 2 +- zbook_frontend/src/components/parsers/HtmlParser.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zbook_frontend/src/components/TableOfContent.tsx b/zbook_frontend/src/components/TableOfContent.tsx index 84e4205..dc41dbc 100644 --- a/zbook_frontend/src/components/TableOfContent.tsx +++ b/zbook_frontend/src/components/TableOfContent.tsx @@ -169,7 +169,7 @@ export default function TableOfContent(props: TableOfContentProps) { {/* 确保父元素具有固定高度或最大高度 */}
{/* 子元素充满父元素的高度 */} -
+
{t("OnThisPage")}
diff --git a/zbook_frontend/src/components/parsers/HtmlParser.tsx b/zbook_frontend/src/components/parsers/HtmlParser.tsx index 032a870..68661fc 100644 --- a/zbook_frontend/src/components/parsers/HtmlParser.tsx +++ b/zbook_frontend/src/components/parsers/HtmlParser.tsx @@ -57,7 +57,7 @@ const parseHTMLString = ( if (level == 1) { return (
-
+
{prefixPath}