From ca25f27b4bb4e1cbfbd15666be90077970de1abb Mon Sep 17 00:00:00 2001 From: liquidev Date: Tue, 27 Aug 2024 14:23:53 +0200 Subject: [PATCH] fix horizontal scrollbar in docs maybe putting domain-specific rules in your shared css doesn't make sense --- static/base.css | 3 --- static/index.css | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/static/base.css b/static/base.css index 9f7a4a6..199e94b 100644 --- a/static/base.css +++ b/static/base.css @@ -17,9 +17,6 @@ body { margin: 0; - width: 100vw; - height: 100vh; - color: var(--color-text); line-height: 1.4; } diff --git a/static/index.css b/static/index.css index 27e1918..70c8650 100644 --- a/static/index.css +++ b/static/index.css @@ -3,6 +3,11 @@ /* Main container layout */ +body { + width: 100vw; + height: 100vh; +} + main { width: 100%; height: 100%;