Skip to content

Commit

Permalink
fix 页面不能滚动的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BearJ committed Feb 18, 2016
1 parent 2fd9f40 commit d4a0125
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions example/component/page.less
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@

html, body, .container {
height: 100%;
overflow: hidden;
}

body {
background-color: #FBF9FE;
}

.container{
overflow: hidden;
}

.page {
position: absolute;
top: 0;
Expand Down Expand Up @@ -79,4 +82,4 @@ body {
opacity: 0.01;
transform: translate3d(100%, 0, 0);
}
}
}

0 comments on commit d4a0125

Please sign in to comment.