max height for landscape videos

This commit is contained in:
j 2021-10-28 21:43:22 +01:00
parent 157afaaf8f
commit 410ad67c38

View file

@ -33,6 +33,7 @@
width: 100%;
height: auto;
max-width: var(--container-width);
max-height: 80vh;
margin: auto;
//transition: opacity 0.4s;
@ -42,9 +43,15 @@
.frame {
max-width: var(--container-width);
margin: auto;
figure {
text-align: center;
}
img {
width: 100%;
height: auto;
max-height: 80vh;
margin: auto;
object-fit: contain;
}
figcaption {
text-align: right;