Skip to content

Commit

Permalink
Added padding to the bottom of the preview document
Browse files Browse the repository at this point in the history
[release]
  • Loading branch information
madskristensen committed Jan 4, 2022
1 parent 8cf3f0e commit ad018fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Margin/Browser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ private string GetHtmlTemplate()
<meta charset=""utf-8"" />
<base href=""file:///{baseHref}/"" />
<style>
html, body {{margin: 0}}
html, body {{margin: 0; padding-bottom:10px}}
{cssHighlight}
{cssPrism}
</style>";
Expand Down
5 changes: 4 additions & 1 deletion src/Margin/highlight-dark.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.markdown-body {
body {
background: #1f1f1f
}
.markdown-body {
color-scheme: dark;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
Expand Down

0 comments on commit ad018fd

Please sign in to comment.