From 7b2f226ce604229a0eb90b84818474dc24f25d5c Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 29 Sep 2022 16:08:40 +0200 Subject: [PATCH] fix public view - attempt 2 Signed-off-by: szaimen --- apps/files_sharing/css/public.scss | 9 ++++----- core/css/public.scss | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index 72762bd3bcd..1e5e6ee229e 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -35,6 +35,10 @@ $download-button-section-height: 200px; width: unset !important; } +#imgframe :not(#viewer) img { + min-width: 100px; +} + #imgframe video { max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height}); } @@ -78,11 +82,6 @@ $download-button-section-height: 200px; max-height: 100%; } -// Fix footer overlapping with app-content -.app-files_sharing #app-content { - max-height: calc(100vh - var(--header-height) - #{$footer-height}); -} - /* fix multiselect bar offset on shared page */ thead { left: 0 !important; diff --git a/core/css/public.scss b/core/css/public.scss index 0e75a938cfa..514c3fbba70 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -69,7 +69,7 @@ $footer-height: 65px; /* public footer */ footer { - position: fixed; + position: sticky !important; display: flex; align-items: center; justify-content: center;