From 00c71016761b5c3b0e34336052c4363d278145bb Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Thu, 26 Sep 2024 12:57:10 +0200 Subject: [PATCH] fix: move doc.dir to plugin and remove the extra div that was affecting vis layout --- src/components/Item/Item.js | 6 +----- .../Item/VisualizationItem/Visualization/IframePlugin.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Item/Item.js b/src/components/Item/Item.js index 1d02840f1..7bc9fa06c 100644 --- a/src/components/Item/Item.js +++ b/src/components/Item/Item.js @@ -66,11 +66,7 @@ export const Item = (props) => { const engine = useDataEngine() const GridItem = getGridItem(props.item.type) - return ( -
- -
- ) + return } Item.propTypes = { diff --git a/src/components/Item/VisualizationItem/Visualization/IframePlugin.js b/src/components/Item/VisualizationItem/Visualization/IframePlugin.js index f0a0b5209..f32d90767 100644 --- a/src/components/Item/VisualizationItem/Visualization/IframePlugin.js +++ b/src/components/Item/VisualizationItem/Visualization/IframePlugin.js @@ -233,7 +233,7 @@ const IframePlugin = ({ } return ( -
+
{iframeSrc ? (