summaryrefslogtreecommitdiff
path: root/src/components/Root.module.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2020-12-03 00:17:10 +0800
committerHaishan <[email protected]>2020-12-03 00:17:10 +0800
commita8c6cd23ce2b585362f515080b2167990c554fed (patch)
tree43eb09d584ab748332523b897b5917f584797358 /src/components/Root.module.css
parent8abaf046f32fca918642e95144a356aed27b35ad (diff)
fix: fix weird scroll behavior on config page
Diffstat (limited to 'src/components/Root.module.css')
-rw-r--r--src/components/Root.module.css8
1 files changed, 6 insertions, 2 deletions
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;