From c6694bba659e8f8240d06a067bc95fd26bb1ab07 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Thu, 16 Nov 2023 15:22:56 -0600 Subject: [PATCH] Ensure the sidebar is not cutoff at the bottom --- app/assets/stylesheets/media.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/media.scss b/app/assets/stylesheets/media.scss index 11716980d..deb53c383 100644 --- a/app/assets/stylesheets/media.scss +++ b/app/assets/stylesheets/media.scss @@ -241,7 +241,7 @@ } .sul-embed-media-file { - height: calc(100% - 54px);; + height: 100%; } .button-label { @@ -263,7 +263,7 @@ .media-component-body { display: flex; flex-grow: 1; - height: 100%; + max-height: calc(100vh - 58px); .sul-embed-media-wrapper { display: inline-block;