1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-09-02 19:22:57 +02:00

Merge pull request #1756 from jmpp/better-data-trim

Implementing a better data-trim
This commit is contained in:
Hakim El Hattab
2016-12-01 10:18:50 +01:00
committed by GitHub
2 changed files with 62 additions and 1 deletions

View File

@@ -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