aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/css/public.scss
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-07-25 20:17:15 +0200
committerVincent Petry (Rebase PR Action) <PVince81@users.noreply.github.com>2022-08-25 21:59:19 +0000
commit99aa938452a089e66fe993c98a4292fcfa9caa15 (patch)
treee3f7eae822e3c610a11c580294dcefe011c18db3 /apps/files_sharing/css/public.scss
parent38d0419f14ad70dbd82ef18946846b8ce3ea1682 (diff)
downloadnextcloud-server-99aa938452a089e66fe993c98a4292fcfa9caa15.tar.gz
nextcloud-server-99aa938452a089e66fe993c98a4292fcfa9caa15.zip
feature: first take on using the viewer to render single file shares
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/css/public.scss')
-rw-r--r--apps/files_sharing/css/public.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss
index 4b3ea818be8..588a11d30a7 100644
--- a/apps/files_sharing/css/public.scss
+++ b/apps/files_sharing/css/public.scss
@@ -21,6 +21,10 @@
margin:0 auto;
}
+#imgframe #viewer {
+ height: 100%;
+ width: 100%;
+}
#imgframe img {
max-height: 100% !important;
@@ -48,6 +52,15 @@
font-size: 1.2em;
}
+#imgframe .viewer__file {
+ height: 100%;
+ width: 100%;
+}
+
+#imgframe .plyr {
+ max-height: 100%;
+}
+
/* fix multiselect bar offset on shared page */
thead {
left: 0 !important;