make audio enclosures fill available width

This commit is contained in:
Athou
2025-02-05 16:51:23 +01:00
parent 8edd6a1e2d
commit 7ff86a5e31

View File

@@ -19,7 +19,7 @@ export function Enclosure(props: {
)}
{hasAudio && (
// biome-ignore lint/a11y/useMediaCaption: we don't have any captions for audio
<audio controls>
<audio controls style={{ width: "100%" }}>
<source src={props.enclosureUrl} type={props.enclosureType} />
</audio>
)}