aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-12-01 10:18:50 +0100
committerGitHub <noreply@github.com>2016-12-01 10:18:50 +0100
commit775d510c2f979181c2194c8705c4b25118dc3144 (patch)
treecb5d3f3d897d69ad5b4525bdeb565c31548adc49 /README.md
parent19188205de20c6c7e219c01482e897a880e42a7b (diff)
parent35162c1f5e345b88311e9238de3afb4fa3e1fa13 (diff)
downloadfosdem-2018-presentation-775d510c2f979181c2194c8705c4b25118dc3144.tar
fosdem-2018-presentation-775d510c2f979181c2194c8705c4b25118dc3144.tar.gz
Merge pull request #1756 from jmpp/better-data-trim
Implementing a better data-trim
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index cb72f23..1a70754 100644
--- a/README.md
+++ b/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