mirror of
https://github.com/FranP-code/Reflecto.git
synced 2025-10-13 00:43:31 +00:00
style: adjust iframe dimensions for better video preview display
This commit is contained in:
@@ -67,6 +67,10 @@ function PreviewCard() {
|
|||||||
<div className="aspect-video w-full">
|
<div className="aspect-video w-full">
|
||||||
<iframe
|
<iframe
|
||||||
className="h-full w-full"
|
className="h-full w-full"
|
||||||
|
style={{
|
||||||
|
width: "100%",
|
||||||
|
height: "480px",
|
||||||
|
}}
|
||||||
src={videoSrc}
|
src={videoSrc}
|
||||||
title="Reflecto preview"
|
title="Reflecto preview"
|
||||||
allow="autoplay; encrypted-media; picture-in-picture"
|
allow="autoplay; encrypted-media; picture-in-picture"
|
||||||
|
|||||||
Reference in New Issue
Block a user