Small fix
This commit is contained in:
@@ -24,6 +24,10 @@ export default function YouTubeEmbed({
|
||||
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
width: width === "full" ? "100%" : `${width}px`,
|
||||
height: height === "full" ? "100%" : `${height}px`,
|
||||
}}
|
||||
className={`relative w-${width === "full" ? width : "[" + width + "px]"} h-${height === "full" ? height : "[" + height + "px]"} cursor-pointer`}
|
||||
onClick={_loadIframe}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user