aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/css/public.css
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-09-13 16:08:05 +0200
committerGitHub <noreply@github.com>2022-09-13 16:08:05 +0200
commitb739dd580743aa3c339eba28c45f14d930956135 (patch)
tree8de8f4574637d9bfa919869d18e4cacd29e96db2 /apps/files_sharing/css/public.css
parent7e6dffd38cf2730463d93b990a33ebff8dd9cb3d (diff)
parent335964dc15380bc7e3190561d126165aa53bf30e (diff)
downloadnextcloud-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.css13
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;