allow images inside of h/vstacks to be proportionally downsized

edit
Hakim El Hattab 2020-06-09 13:31:21 +02:00
parent be460814ac
commit cd2a792416
2 changed files with 7 additions and 1 deletions

View File

@ -36,6 +36,12 @@
.reveal .r-vstack, .reveal .r-vstack,
.reveal .r-hstack { .reveal .r-hstack {
display: flex; display: flex;
img, video {
min-width: 0;
min-height: 0;
object-fit: contain;
}
} }
.reveal .r-vstack { .reveal .r-vstack {

2
dist/reveal.css vendored

File diff suppressed because one or more lines are too long