diff --git a/desktop/plugins/public/ui-debugger/components/Controls.tsx b/desktop/plugins/public/ui-debugger/components/Controls.tsx index 3085a4553..a34f17732 100644 --- a/desktop/plugins/public/ui-debugger/components/Controls.tsx +++ b/desktop/plugins/public/ui-debugger/components/Controls.tsx @@ -44,7 +44,7 @@ export const Controls: React.FC = () => { useState(false); return ( - + { diff --git a/desktop/plugins/public/ui-debugger/components/Visualization2D.tsx b/desktop/plugins/public/ui-debugger/components/Visualization2D.tsx index 6a82fbbb8..46d237a68 100644 --- a/desktop/plugins/public/ui-debugger/components/Visualization2D.tsx +++ b/desktop/plugins/public/ui-debugger/components/Visualization2D.tsx @@ -135,6 +135,8 @@ export const Visualization2D: React.FC< //this div is to ensure that the size of the visualiser doesnt change when focusings on a subtree style={ { + backgroundColor: theme.backgroundWash, + borderRadius: theme.borderRadius, overflowY: 'auto', overflowX: 'hidden', position: 'relative', //this is for the absolutely positioned overlays diff --git a/desktop/plugins/public/ui-debugger/components/main.tsx b/desktop/plugins/public/ui-debugger/components/main.tsx index c06e6f6ae..cf6dd66f8 100644 --- a/desktop/plugins/public/ui-debugger/components/main.tsx +++ b/desktop/plugins/public/ui-debugger/components/main.tsx @@ -106,43 +106,49 @@ export function Component() { return ( - - - <> - - - + + + + + - { - instance.uiActions.setVisualiserWidth(width); - }} - gutter> - - - - - - - - - {bottomPanelComponent} - - - + { + instance.uiActions.setVisualiserWidth(width); + }} + gutter> + + + + + + + {bottomPanelComponent} + + ); } diff --git a/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx b/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx index 181a1cf7e..5e126abda 100644 --- a/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx +++ b/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx @@ -213,6 +213,7 @@ export function Tree2({ //We use this normal divs flexbox sizing to measure how much vertical space we need for the child div ref={grandParentRef} style={{ + paddingLeft: theme.space.medium, height: '100%', width: '100%', }}>