Fix audio player controls not rendering in Chromium

Chromium's native audio player shadow DOM collapses when max-height is
applied to the <audio> element — audio plays but controls are invisible.
Remove the inline style (carried over from video context) and use w-full
max-w-lg instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-05-07 19:19:30 -04:00
parent 3553809f27
commit e3a3ab7de8

View File

@@ -93,8 +93,7 @@ onDestroy(() => {
<audio
autoplay
controls
style="max-width: 100%; max-height: 65vh;"
class="h-auto w-96">
class="w-full max-w-lg">
<source
id="view_archive_content_audio_source"
src="{$ae_api.base_url}/v3/action/hosted_file/{$idaa_slct