Skip to content

Commit

Permalink
Fix non-scroll issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-hale committed Jan 10, 2018
1 parent 85e1d79 commit c6de3cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
}
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions css/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

html { height: 100%; }
body {
width: 100%; height: 100%;
width: 100%; // height: 100%;
margin:0; padding:0;
}
header{ overflow: hidden; }
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit c6de3cf

Please sign in to comment.