aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJaiden Mispy <jaiden@mispy.me>2016-08-27 09:13:54 +1000
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-10-05 11:16:41 +0200
commit3c36ee6cff43d2c4aefe59ef5198df4f327fa094 (patch)
treecaf6bd29a5c0bf0dce545b994e271c4607586226 /README.md
parentbac187f3a0f7e8f92d33ca0258fe2e96553d2930 (diff)
downloadfosdem-2018-presentation-3c36ee6cff43d2c4aefe59ef5198df4f327fa094.tar
fosdem-2018-presentation-3c36ee6cff43d2c4aefe59ef5198df4f327fa094.tar.gz
Add note to README about how to disable scaling
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 8d92b14..4e306a6 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