enforce max width/height on iframes (#244), disabled mouse wheel navigation by default
This commit is contained in:
parent
332ce86c3a
commit
c61dc00a98
|
@ -83,7 +83,7 @@ Reveal.initialize({
|
|||
autoSlide: 0,
|
||||
|
||||
// Enable slide navigation via mouse wheel
|
||||
mouseWheel: true,
|
||||
mouseWheel: false,
|
||||
|
||||
// Apply a 3D roll to links on hover
|
||||
rollingLinks: true,
|
||||
|
|
|
@ -176,7 +176,8 @@ body {
|
|||
}
|
||||
|
||||
/* Preserve aspect ratio and scale image so it's bound within the section */
|
||||
.reveal img {
|
||||
.reveal img,
|
||||
.reveal iframe {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
|
2
css/reveal.min.css
vendored
2
css/reveal.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -42,7 +42,7 @@ var Reveal = (function(){
|
|||
autoSlide: 0,
|
||||
|
||||
// Enable slide navigation via mouse wheel
|
||||
mouseWheel: true,
|
||||
mouseWheel: false,
|
||||
|
||||
// Apply a 3D roll to links on hover
|
||||
rollingLinks: true,
|
||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user