diff options
author | hakimel | 2013-01-23 15:26:22 -0500 |
---|---|---|
committer | hakimel | 2013-01-23 15:26:43 -0500 |
commit | a041f9c64a34eaa750acd874bdf7027b7015bc29 (patch) | |
tree | 8e173bbbeee3a47a250dd949106e12f627443080 /css/reveal.css | |
parent | 3daacbc32134b89870e74c1d66fb86e4c8feca9c (diff) |
limit video size to size of slide (closes #308)
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/css/reveal.css b/css/reveal.css index 0680fa5..0074889 100644 --- a/css/reveal.css +++ b/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%; |