From a8c6cd23ce2b585362f515080b2167990c554fed Mon Sep 17 00:00:00 2001 From: Haishan Date: Thu, 3 Dec 2020 00:17:10 +0800 Subject: fix: fix weird scroll behavior on config page --- src/components/Root.module.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/components/Root.module.css') diff --git a/src/components/Root.module.css b/src/components/Root.module.css index c35c4cb..6538b75 100644 --- a/src/components/Root.module.css +++ b/src/components/Root.module.css @@ -1,10 +1,14 @@ .app { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + display: flex; background: var(--color-background); color: var(--color-text); - min-height: 300px; - height: 100vh; @media (max-width: 768px) { flex-direction: column; -- cgit v1.3.1