Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kylepaulsen committed Feb 5, 2015
1 parent ed4d566 commit 88a66e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,16 @@ The customShow and customHide properties on the main nanoModal var can be used t
}
```

### Making the modal stick to your scroll position

```
.nanoModal.nanoModalOverride {
position: fixed;
}
```

You should test on your target mobile browsers though, as position fixed can do some weird things on mobile. I might add a built in feature for this if people want it (file an issue).

### Note: You probably wont need to deal with the stuff below.
---

Expand Down

0 comments on commit 88a66e2

Please sign in to comment.