refactor: fill iframe size in custom html panel

pull/90/head
moonrailgun 2 years ago
parent 9965a54bdb
commit 600b0683f6

@ -34,7 +34,7 @@ const GroupCustomWebPanelRender: React.FC<{ panelInfo: any }> = (props) => {
return <div>{Translate.notfound}</div>;
}
return <iframe ref={ref} />;
return <iframe ref={ref} className="w-full h-full" />;
};
GroupCustomWebPanelRender.displayName = 'GroupCustomWebPanelRender';

Loading…
Cancel
Save