aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/css/publicView.css
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/publicView.css
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/publicView.css')
-rw-r--r--apps/files_sharing/css/publicView.css15
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/files_sharing/css/publicView.css b/apps/files_sharing/css/publicView.css
index 91429ffbdab..d37218f76aa 100644
--- a/apps/files_sharing/css/publicView.css
+++ b/apps/files_sharing/css/publicView.css
@@ -41,6 +41,11 @@
margin: 0 auto;
}
+#imgframe #viewer {
+ height: 100%;
+ width: 100%;
+}
+
#imgframe img {
max-height: 100% !important;
max-width: 100% !important;
@@ -67,6 +72,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;
@@ -277,7 +291,6 @@ table td.date {
#imgframe {
width: 100%;
padding: 0;
- margin-bottom: 35px;
}
/* some margin for the file type icon */