Skip to content

Commit

Permalink
[render] Use for child_page same padding as for paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Xennis committed Jun 10, 2024
1 parent f352049 commit 91a4400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/render/src/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const Block = ({ block, options }: { block: BlockObjectResponseWithChildren; opt
return <></>
}
return (
<p>
<p className="py-[3px]">
<options.htmlComponents.a href={childPageResolved?.href ?? "#"}>
<PageTitle icon={childPageResolved.icon}>{block.child_page.title}</PageTitle>
</options.htmlComponents.a>
Expand Down

0 comments on commit 91a4400

Please sign in to comment.