aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/css
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-09-14 11:11:43 +0200
committerMax <max@nextcloud.com>2022-09-14 11:11:43 +0200
commitd914b2187690c48c239d399da861650aca00db0d (patch)
tree57dc1996eba3f1baa31db27bf8f7a6ea0a7ca329 /apps/files_sharing/css
parent77680ac0891af0fc4be5b97982bde6f5e1aae19e (diff)
downloadnextcloud-server-d914b2187690c48c239d399da861650aca00db0d.tar.gz
nextcloud-server-d914b2187690c48c239d399da861650aca00db0d.zip
fix: also apply top margin to audio in firefox
Based on https://github.com/nextcloud/viewer/pull/1371 . If we are displaying an audio file in a single page share provide enough margin to display the speed settings. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/css')
-rw-r--r--apps/files_sharing/css/public.css2
-rw-r--r--apps/files_sharing/css/public.scss2
-rw-r--r--apps/files_sharing/css/publicView.css2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 2fbadf933ce..662e6003ff1 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -62,7 +62,7 @@
margin-right: auto;
}
-#imgframe:has(audio) {
+#imgframe #viewer[data-handler=audios] {
margin-top: 400px;
}
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss
index 3a71f308f36..72762bd3bcd 100644
--- a/apps/files_sharing/css/public.scss
+++ b/apps/files_sharing/css/public.scss
@@ -45,7 +45,7 @@ $download-button-section-height: 200px;
margin-right: auto;
}
-#imgframe:has(audio) {
+#imgframe #viewer[data-handler=audios] {
// for speed settings
margin-top: 400px;
}
diff --git a/apps/files_sharing/css/publicView.css b/apps/files_sharing/css/publicView.css
index e8b116994c5..6e3b5f5a003 100644
--- a/apps/files_sharing/css/publicView.css
+++ b/apps/files_sharing/css/publicView.css
@@ -62,7 +62,7 @@
margin-right: auto;
}
-#imgframe:has(audio) {
+#imgframe #viewer[data-handler=audios] {
margin-top: 400px;
}