PanelEdit: Remove right side padding for options pane (#32427)

This commit is contained in:
Torkel Ödegaard
2021-03-29 16:21:38 +02:00
committed by GitHub
parent 6015432f07
commit bb995e966d
2 changed files with 3 additions and 2 deletions

View File

@@ -67,14 +67,14 @@ const getStyles = (theme: GrafanaTheme) => {
display: flex; display: flex;
flex: 1 1 0; flex: 1 1 0;
flex-direction: column; flex-direction: column;
padding: ${theme.spacing.md} ${theme.spacing.sm} 0 0; padding: ${theme.spacing.md} 0 0 0;
`, `,
optionsWrapper: css` optionsWrapper: css`
flex-grow: 1; flex-grow: 1;
min-height: 0; min-height: 0;
`, `,
vizButtonWrapper: css` vizButtonWrapper: css`
padding: 0 0 ${theme.spacing.md} 0; padding: 0 ${theme.spacing.sm} ${theme.spacing.md} 0;
`, `,
legacyOptions: css` legacyOptions: css`
label: legacy-options; label: legacy-options;

View File

@@ -188,5 +188,6 @@ const getStyles = (theme: GrafanaTheme) => ({
background: ${theme.colors.bg1}; background: ${theme.colors.bg1};
border: 1px solid ${theme.colors.border1}; border: 1px solid ${theme.colors.border1};
margin-bottom: ${theme.spacing.md}; margin-bottom: ${theme.spacing.md};
flex-grow: 1;
`, `,
}); });