mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-07 15:16:37 +02:00
limit video size to size of slide (closes #308)
This commit is contained in:
@@ -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
2
css/reveal.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user