fix: iframe classname

This commit is contained in:
Aman Harwara
2022-11-10 13:18:09 +05:30
parent 444aea3688
commit 93b6616b78

View File

@@ -200,7 +200,7 @@ const ComponentView: FunctionComponent<IProps> = ({ application, onLoad, compone
{error === ComponentViewerError.MissingUrl && <UrlMissing componentName={component.displayName} />}
{component.uuid && isComponentValid && (
<iframe
className="h-full w-full grow bg-transparent"
className="h-full w-full flex-grow bg-transparent"
ref={iframeRef}
onLoad={onIframeLoad}
data-component-viewer-id={componentViewer.identifier}