Skip to content

Commit

Permalink
Add bottom padding to MarkdownPreview (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
blurfx authored Oct 1, 2024
1 parent 35d99df commit c0fc551
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/editor/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ function Preview() {

return (
<MarkdownPreview
style={{
paddingBottom: "2rem",
}}
source={addSoftLineBreak(content)}
wrapperElement={{
"data-color-mode": currentTheme,
Expand Down

0 comments on commit c0fc551

Please sign in to comment.