1
0
Fork 0

enforce max width/height on iframes (#244), disabled mouse wheel navigation by default

This commit is contained in:
Hakim El Hattab 2012-11-17 15:48:12 -05:00
parent 332ce86c3a
commit c61dc00a98
5 changed files with 7 additions and 6 deletions

View File

@ -83,7 +83,7 @@ Reveal.initialize({
autoSlide: 0, autoSlide: 0,
// Enable slide navigation via mouse wheel // Enable slide navigation via mouse wheel
mouseWheel: true, mouseWheel: false,
// Apply a 3D roll to links on hover // Apply a 3D roll to links on hover
rollingLinks: true, rollingLinks: true,

View File

@ -176,7 +176,8 @@ body {
} }
/* Preserve aspect ratio and scale image so it's bound within the section */ /* Preserve aspect ratio and scale image so it's bound within the section */
.reveal img { .reveal img,
.reveal iframe {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
} }

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -42,7 +42,7 @@ var Reveal = (function(){
autoSlide: 0, autoSlide: 0,
// Enable slide navigation via mouse wheel // Enable slide navigation via mouse wheel
mouseWheel: true, mouseWheel: false,
// Apply a 3D roll to links on hover // Apply a 3D roll to links on hover
rollingLinks: true, rollingLinks: true,

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long