diff options
author | Simon L <szaimen@e.mail.de> | 2022-09-13 16:08:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 16:08:05 +0200 |
commit | b739dd580743aa3c339eba28c45f14d930956135 (patch) | |
tree | 8de8f4574637d9bfa919869d18e4cacd29e96db2 /apps/files_sharing/css/public.css | |
parent | 7e6dffd38cf2730463d93b990a33ebff8dd9cb3d (diff) | |
parent | 335964dc15380bc7e3190561d126165aa53bf30e (diff) | |
download | nextcloud-server-b739dd580743aa3c339eba28c45f14d930956135.tar.gz nextcloud-server-b739dd580743aa3c339eba28c45f14d930956135.zip |
Merge pull request #34028 from nextcloud/enh/33803/public-view
fix public view
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; |