limit video size to size of slide (closes #308)
This commit is contained in:
parent
3daacbc321
commit
a041f9c64a
2 changed files with 3 additions and 2 deletions
|
@ -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%;
|
||||
|
|
2
css/reveal.min.css
vendored
2
css/reveal.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue