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>
This commit is contained in:
Max 2022-09-14 11:11:43 +02:00
parent 77680ac089
commit d914b21876
No known key found for this signature in database
GPG key ID: 0F5BFA367A00BACE
3 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@
margin-right: auto;
}
#imgframe:has(audio) {
#imgframe #viewer[data-handler=audios] {
margin-top: 400px;
}

View file

@ -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;
}

View file

@ -62,7 +62,7 @@
margin-right: auto;
}
#imgframe:has(audio) {
#imgframe #viewer[data-handler=audios] {
margin-top: 400px;
}