diff options
Diffstat (limited to 'apps/files_sharing/css/public.css')
-rw-r--r-- | apps/files_sharing/css/public.css | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css index ad80b871454..115b3e43cb9 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -47,8 +47,13 @@ } #imgframe img { - max-height: 100% !important; + max-height: calc(100vh - var(--header-height) - 65px - 200px) !important; max-width: 100% !important; + width: unset !important; +} + +#imgframe video { + max-height: calc(100vh - var(--header-height) - 65px - 200px); } #imgframe audio { @@ -62,7 +67,7 @@ position: relative; text-align: left; white-space: pre-wrap; - overflow-y: hidden; + overflow-y: scroll; height: auto; min-height: 200px; max-height: 800px; @@ -81,6 +86,10 @@ max-height: 100%; } +.app-files_sharing #app-content { + max-height: calc(100vh - var(--header-height) - 65px); +} + /* fix multiselect bar offset on shared page */ thead { left: 0 !important; |