From c6de3cfe52b1a49e9291a013cc0b15b060e20c15 Mon Sep 17 00:00:00 2001 From: Jason Hale Date: Tue, 9 Jan 2018 18:39:26 -0600 Subject: [PATCH] Fix non-scroll issue --- css/styles.css | 3 +-- css/styles.less | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/css/styles.css b/css/styles.css index 6f6ee90..9d19201 100644 --- a/css/styles.css +++ b/css/styles.css @@ -89,7 +89,6 @@ } body { width: 100%; - height: 100%; margin: 0; padding: 0; } @@ -276,7 +275,7 @@ color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); background-color: #808080; - position: absolute; + position: fixed; top: 0; bottom: 0; right: 0; diff --git a/css/styles.less b/css/styles.less index b186db3..282ed30 100644 --- a/css/styles.less +++ b/css/styles.less @@ -48,7 +48,7 @@ html { height: 100%; } body { - width: 100%; height: 100%; + width: 100%; // height: 100%; margin:0; padding:0; } header{ overflow: hidden; } @@ -233,7 +233,7 @@ footer { color:white; text-shadow: 1px 1px 1px rgba(0,0,0,.5); background-color:#808080; - position:absolute; top:0; bottom: 0; right:0; z-index: @z-top; + position:fixed; top:0; bottom: 0; right:0; z-index: @z-top; transition: width .5s ease-out; &.open {