Skip to content
Commit a8323bbc authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix placement of icon in public share page for audio files



When the preview for audio files is used an HTML 5 audio element is
shown in the public share page. This element is added by the template,
so it is already there when the mimetype icon is added to the
"#imgframe" element. Instead of appended the icon is now prepended, so
it appears before the audio element (prepending instead of appending
should make no difference for other types of files, as in that case the
"#imgframe" element is empty). Besides that, the CSS was modified to
show the icon centered above the audio preview instead of next to it.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 443c1db3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment