From bb995e966dac267ca33af2f4704c776e487daf8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 29 Mar 2021 16:21:38 +0200 Subject: [PATCH] PanelEdit: Remove right side padding for options pane (#32427) --- .../features/dashboard/components/PanelEditor/OptionsPane.tsx | 4 ++-- .../dashboard/components/PanelEditor/OptionsPaneOptions.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/app/features/dashboard/components/PanelEditor/OptionsPane.tsx b/public/app/features/dashboard/components/PanelEditor/OptionsPane.tsx index db608241941..c4a54e775d1 100644 --- a/public/app/features/dashboard/components/PanelEditor/OptionsPane.tsx +++ b/public/app/features/dashboard/components/PanelEditor/OptionsPane.tsx @@ -67,14 +67,14 @@ const getStyles = (theme: GrafanaTheme) => { display: flex; flex: 1 1 0; flex-direction: column; - padding: ${theme.spacing.md} ${theme.spacing.sm} 0 0; + padding: ${theme.spacing.md} 0 0 0; `, optionsWrapper: css` flex-grow: 1; min-height: 0; `, vizButtonWrapper: css` - padding: 0 0 ${theme.spacing.md} 0; + padding: 0 ${theme.spacing.sm} ${theme.spacing.md} 0; `, legacyOptions: css` label: legacy-options; diff --git a/public/app/features/dashboard/components/PanelEditor/OptionsPaneOptions.tsx b/public/app/features/dashboard/components/PanelEditor/OptionsPaneOptions.tsx index f702fe0dd24..dc6fac2095e 100644 --- a/public/app/features/dashboard/components/PanelEditor/OptionsPaneOptions.tsx +++ b/public/app/features/dashboard/components/PanelEditor/OptionsPaneOptions.tsx @@ -188,5 +188,6 @@ const getStyles = (theme: GrafanaTheme) => ({ background: ${theme.colors.bg1}; border: 1px solid ${theme.colors.border1}; margin-bottom: ${theme.spacing.md}; + flex-grow: 1; `, });