Add note to README about how to disable scaling
This commit is contained in:
parent
bac187f3a0
commit
3c36ee6cff
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -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
|
### Dependencies
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue