forked from Archives/Athou_commafeed
make sure videos don't overflow parent (#1240)
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user