Optimize UI details and fix some defects
This commit is contained in:
@@ -2,7 +2,7 @@ import { fontFangZhengXiaoBiaoSongCN } from "@/styles/font";
|
||||
|
||||
export const H2 = (props: JSX.IntrinsicElements["h2"]) => {
|
||||
return (
|
||||
<h2 className={`${fontFangZhengXiaoBiaoSongCN.className} scroll-mt-20`} id={props.id}>
|
||||
<h2 className={`${fontFangZhengXiaoBiaoSongCN.className} mt-4 mb-2 scroll-mt-20`} id={props.id}>
|
||||
{props.children}
|
||||
</h2>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user