[update] upgrade the reader page

This commit is contained in:
PrinOrange
2024-08-16 17:56:55 +08:00
parent c1e6424db0
commit bc4861f664
8 changed files with 102 additions and 101 deletions

View File

@@ -1,6 +1,6 @@
const H2 = (props: JSX.IntrinsicElements["h2"]) => {
return (
<h2 className={"caption-font scroll-mt-20"} id={props.id}>
<h2 className={"caption-font mt-6 mb-2 scroll-mt-20"} id={props.id}>
{props.children}
</h2>
);