diff options
Diffstat (limited to 'apps/files_sharing/css/public.scss')
-rw-r--r-- | apps/files_sharing/css/public.scss | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index 1e5e6ee229e..f325622ea2c 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -1,6 +1,7 @@ @use 'variables'; $footer-height: 65px; +$footer-padding-height: 16px; $download-button-section-height: 200px; #preview { @@ -30,7 +31,7 @@ $download-button-section-height: 200px; } #imgframe img { - max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height}) !important; + max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height}) !important; max-width: 100% !important; width: unset !important; } @@ -40,7 +41,7 @@ $download-button-section-height: 200px; } #imgframe video { - max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height}); + max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height}); } #imgframe audio { @@ -82,6 +83,11 @@ $download-button-section-height: 200px; max-height: 100%; } + +.app-files_sharing #app-content footer { + position: sticky !important; +} + /* fix multiselect bar offset on shared page */ thead { left: 0 !important; |