Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Jun 28, 2014
1 parent c447479 commit ac46a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Minified version size: ~4kb
#IMPORTANT!
If your page body requires `height: 100%`, your page will scroll to the top([#20](https://github.com/VodkaBears/Remodal/issues/20), [#21](https://github.com/VodkaBears/Remodal/issues/21)), because remodal sets `overflow: hidden` to the html and body when opening to hide a scrollbar. There is no problem if your content doesn't overflow your full height body container, otherwise you should do something of this:
* Try to set `min-height: 100%` instead of `height: 100%`. If it doesn't help, read next.
* Set `html, body { overflow: auto !important }`. Your page won't be locked and will be scrollable always.
* Set `html, body { overflow: auto !important }` or remove overflow property of the `remodal_lock` class in the CSS file. Your page won't be locked and will be scrollable always.

## Notes
* All modern browsers are supported.
Expand Down

0 comments on commit ac46a86

Please sign in to comment.