make sure videos don't overflow parent (#1240)

This commit is contained in:
Athou
2024-02-10 21:50:17 +01:00
parent be44b0aad1
commit 3efeed6c85

View File

@@ -9,7 +9,7 @@ export function Enclosure(props: { enclosureType: string; enclosureUrl: string }
return (
<BasicHtmlStyles>
{hasVideo && (
<video controls>
<video controls width="100%">
<source src={props.enclosureUrl} type={props.enclosureType} />
</video>
)}