diff options
Diffstat (limited to '')
-rw-r--r-- | src/renderer.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index 909ee75..d682ee4 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -271,6 +271,8 @@ fn css(color_scheme: &themes::ColorScheme) -> Markup { html {{ font-smoothing: antialiased; text-rendering: optimizeLegibility; + width: 100%; + height: 100%; }} body {{ margin: 0; @@ -279,6 +281,8 @@ fn css(color_scheme: &themes::ColorScheme) -> Markup { color: {text_color}; background: {background}; position: relative; + width: 100%; + height: 100%; }} .container {{ padding: 1.5rem 5rem; |