From 410ad67c381c4f76993eead27a6b68f8aea19af9 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 28 Oct 2021 21:43:22 +0100 Subject: [PATCH] max height for landscape videos --- app/static/css/partials/_ascroll.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/static/css/partials/_ascroll.scss b/app/static/css/partials/_ascroll.scss index 306b96c..dbeed51 100755 --- a/app/static/css/partials/_ascroll.scss +++ b/app/static/css/partials/_ascroll.scss @@ -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;