diff --git a/public/app/plugins/datasource/graphite/components/GraphiteQueryEditor.tsx b/public/app/plugins/datasource/graphite/components/GraphiteQueryEditor.tsx index 4ec63d3677d..c19a5e79f23 100644 --- a/public/app/plugins/datasource/graphite/components/GraphiteQueryEditor.tsx +++ b/public/app/plugins/datasource/graphite/components/GraphiteQueryEditor.tsx @@ -28,8 +28,8 @@ function GraphiteQueryEditorContent() { const styles = useStyles2(getStyles); return ( -
-
+
+
{state.target?.textEditor && } {!state.target?.textEditor && ( <> @@ -52,6 +52,12 @@ function GraphiteQueryEditorContent() { function getStyles(theme: GrafanaTheme2) { return { + container: css` + display: flex; + `, + visualEditor: css` + flex-grow: 1; + `, toggleButton: css` margin-left: ${theme.spacing(0.5)}; `,