From 5817ac664c08ce9e6e874eaefd061624964b57d6 Mon Sep 17 00:00:00 2001 From: Roland Rytz Date: Thu, 6 Apr 2017 19:21:45 +0200 Subject: [PATCH] Fix weird overflow scroll bug in firefox --- web/_css/style.css | 17 ++++++++++++----- web/about.html | 2 +- web/index.html | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/web/_css/style.css b/web/_css/style.css index 6f0f1a42..39778de5 100644 --- a/web/_css/style.css +++ b/web/_css/style.css @@ -36,7 +36,6 @@ html, body{ min-width: 100%; height: 100%; width: 100%; - overflow: hidden; } body{ @@ -44,6 +43,10 @@ body{ /*height: 100vh;*/ /*width: 100%;*/ /*width: 100vw;*/ + + overflow: hidden; + overflow-x: hidden; + overflow-y: hidden; font-family: sans; background-color: #111111; @@ -51,10 +54,12 @@ body{ } #wrapper{ - min-height: 100%; - min-width: 100%; - height: 100%; - width: 100%; + position: absolute; + top: 0px; + left: 0px; + right: 0px; + bottom: 0px; + overflow: hidden; overflow-x: hidden; overflow-y: hidden; } @@ -236,6 +241,8 @@ #container{ margin-left: 320px; overflow: hidden; + overflow-x: hidden; + overflow-y: hidden; } #innerContainer{ diff --git a/web/about.html b/web/about.html index 90ddd9f3..41379a3d 100644 --- a/web/about.html +++ b/web/about.html @@ -26,7 +26,7 @@ - + The /r/place Atlas diff --git a/web/index.html b/web/index.html index d0bef5d0..c72f13a6 100644 --- a/web/index.html +++ b/web/index.html @@ -26,7 +26,7 @@ - + The /r/place Atlas