瀏覽代碼

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

hakimel 11 年之前
父節點
當前提交
a041f9c64a
共有 2 個文件被更改,包括 2 次插入1 次删除
  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 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