Skip to content

Commit

Permalink
small style change
Browse files Browse the repository at this point in the history
  • Loading branch information
zizdlp committed Sep 10, 2024
1 parent b4ef394 commit 9940eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zbook_frontend/src/components/TableOfContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default function TableOfContent(props: TableOfContentProps) {
{/* 确保父元素具有固定高度或最大高度 */}
<div className="h-full">
{/* 子元素充满父元素的高度 */}
<div className="text-gray-600 dark:text-gray-200 font-medium flex items-center space-x-2 pb-4">
<div className="text-gray-600 dark:text-gray-200 font-medium flex items-center space-x-2 pb-3">
<LuListMinus className="h-4 w-4" />
<span>{t("OnThisPage")}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion zbook_frontend/src/components/parsers/HtmlParser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const parseHTMLString = (
if (level == 1) {
return (
<div key={randomKey}>
<div className={`h-5 ${activeClass} text-sm font-semibold`}>
<div className={`h-5 ${activeClass} text-sm font-semibold pb-4`}>
{prefixPath}
</div>
<h1 className="text-2xl sm:text-3xl font-extrabold">
Expand Down

0 comments on commit 9940eb5

Please sign in to comment.