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

This commit is contained in:
hakimel 2013-01-23 15:26:22 -05:00
parent 3daacbc321
commit a041f9c64a
2 changed files with 3 additions and 2 deletions

View File

@ -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%;

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long