Skip to content

Commit

Permalink
fix: recently markdown render style
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Aug 15, 2022
1 parent 87d2f41 commit aac7d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/recently/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const RecentlyPage: NextPage = () => {
)}
>
<div className="overflow-hidden">
<Markdown value={d.content} />
<Markdown value={d.content} forceBlock />
{d.ref && <RefPreview refModel={d.ref} />}
</div>

Expand Down Expand Up @@ -179,7 +179,7 @@ const RefPreview: FC<{ refModel: any }> = (props) => {

return (
<>
<Divider className="my-1 bg-current w-12" />
<Divider className="my-1 bg-current w-12 opacity-50" />
<p className="leading-[1.8] flex items-center">
发表于: <PhLinkFill className="mr-2" />
<Link href={url}>{title}</Link>
Expand Down

0 comments on commit aac7d73

Please sign in to comment.