Browse Source

limit video size to size of slide (closes #308)

hakimel 11 years ago
parent
commit
a041f9c64a
2 changed files with 2 additions and 1 deletions
  1. 2 1
      css/reveal.css
  2. 0 0
      css/reveal.min.css

+ 2 - 1
css/reveal.css

@@ -189,8 +189,9 @@ body {
   font-style: italic;
   font-style: italic;
 }
 }
 
 
-/* Preserve aspect ratio and scale image so it's bound within the section */
+/* Ensure certain elements are never larger than the slide itself */
 .reveal img,
 .reveal img,
+.reveal video,
 .reveal iframe {
 .reveal iframe {
 	max-width: 100%;
 	max-width: 100%;
 	max-height: 100%;
 	max-height: 100%;

File diff suppressed because it is too large
+ 0 - 0
css/reveal.min.css


Some files were not shown because too many files changed in this diff