diff options
author | szaimen <szaimen@e.mail.de> | 2022-09-29 16:08:40 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-10-01 22:24:53 +0000 |
commit | 7b2f226ce604229a0eb90b84818474dc24f25d5c (patch) | |
tree | cae266ce06104f8211037514d29d0a393d318e9b | |
parent | 34ca126b374f0c46576e323edff04ecefe69409e (diff) | |
download | nextcloud-server-7b2f226ce604229a0eb90b84818474dc24f25d5c.tar.gz nextcloud-server-7b2f226ce604229a0eb90b84818474dc24f25d5c.zip |
fix public view - attempt 2
Signed-off-by: szaimen <szaimen@e.mail.de>
-rw-r--r-- | apps/files_sharing/css/public.scss | 9 | ||||
-rw-r--r-- | 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; |