[fix] fix some problem in code style
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const H2 = (props: JSX.IntrinsicElements["h2"]) => {
|
||||
return (
|
||||
<h2 className={"caption-font mt-6 mb-2 scroll-mt-20"} id={props.id}>
|
||||
<h2 className={"caption-font mt-6 mb-2 scroll-mt-20 text-[1.45rem]"} id={props.id}>
|
||||
{props.children}
|
||||
</h2>
|
||||
);
|
||||
|
||||
@@ -19,7 +19,7 @@ export const PostRender = (props: {
|
||||
<div className="border-black border-b-2 pb-1 dark:border-gray-300">
|
||||
<div
|
||||
className={
|
||||
"caption-font my-2 flex justify-center whitespace-normal break-words font-bold text-[1.8rem] text-black leading-[2.1rem] dark:text-white"
|
||||
"caption-font my-2 flex justify-center whitespace-normal break-words font-bold text-[1.65rem] text-black leading-[2.1rem] dark:text-white"
|
||||
}
|
||||
>
|
||||
{props.frontMatter?.title}
|
||||
|
||||
Reference in New Issue
Block a user