mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/14771] Add CSS class for audio controls
PHPBB3-14771
This commit is contained in:
parent
11fb872e33
commit
cf6d6d3445
2 changed files with 5 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
{% if _file.COMMENT %}<dd><em>{{ _file.COMMENT }}</em></dd>{% endif %}
|
||||
<dd>{{ _file.DOWNLOAD_NAME }} ({{ _file.FILESIZE }} {{ _file.SIZE_LANG }}) {{ _file.L_DOWNLOAD_COUNT }}</dd>
|
||||
<dd>
|
||||
<audio controls="controls" preload="none" style="max-width:100%;width:360px">
|
||||
<audio class="file-audio-controls" controls="controls" preload="none">
|
||||
<source src="{{ _file.U_DOWNLOAD_LINK }}" type="{{ _file.MIMETYPE }}">
|
||||
</audio>
|
||||
</dd>
|
||||
|
|
|
@ -682,6 +682,10 @@ dl.thumbnail dt a:hover img {
|
|||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
audio.file-audio-controls {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Post poll styles
|
||||
---------------------------------------- */
|
||||
fieldset.polls {
|
||||
|
|
Loading…
Add table
Reference in a new issue