Skip to content

Commit

Permalink
Add note to README about how to disable scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaiden Mispy authored and hakimel committed Oct 5, 2016
1 parent bac187f commit 3c36ee6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 301,20 @@ Reveal.initialize({
});
```

If you wish to disable this behavior and do your own scaling (e.g. using media queries), try these settings:

```javascript
Reveal.initialize({

...

width: "100%",
height: "100%",
margin: 0,
minScale: 1,
maxScale: 1
});
```

### Dependencies

Expand Down

0 comments on commit 3c36ee6

Please sign in to comment.