Jelajahi Sumber

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

hakimel 11 tahun lalu
induk
melakukan
a041f9c64a
2 mengubah file dengan 2 tambahan dan 1 penghapusan
  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;
 }
 
-/* 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 video,
 .reveal iframe {
 	max-width: 100%;
 	max-height: 100%;

File diff ditekan karena terlalu besar
+ 0 - 0
css/reveal.min.css


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini