Skip to content

Commit

Permalink
Update CSS snippets.
Browse files Browse the repository at this point in the history
  • Loading branch information
pazguille committed Mar 10, 2015
1 parent 9f68846 commit 01546a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Features

- Dependecy-free.
- Dependency-free.
- Simple markup.
- Native scrolling.
- Easy customization.
Expand Down Expand Up @@ -63,7 +63,7 @@ body {
right: 0;
z-index: 0;
width: 256px;
overflow-y: scroll;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
display: none;
}
Expand Down Expand Up @@ -112,7 +112,6 @@ Then you just include Slideout.js and create a new instace with some options:
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style>
html,
body {
width: 100%;
height: 100%;
Expand All @@ -126,7 +125,7 @@ Then you just include Slideout.js and create a new instace with some options:
right: 0;
z-index: 0;
width: 256px;
overflow-y: scroll;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
display: none;
}
Expand All @@ -137,7 +136,8 @@ Then you just include Slideout.js and create a new instace with some options:
}
.slideout-open,
.slideout-open body {
.slideout-open body,
.slideout-open .slideout-panel {
overflow: hidden;
}
Expand Down

0 comments on commit 01546a5

Please sign in to comment.