Legend: Fixes right y-axis legend from being pushed outside the bounds of the panel (#30327)

This commit is contained in:
Torkel Ödegaard 2021-01-16 14:09:05 +01:00 committed by GitHub
parent 4971ce6a3c
commit 002ef5e8be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,14 +73,14 @@ const getStyles = (theme: GrafanaTheme) => ({
margin-bottom: ${theme.spacing.xs};
`,
rightWrapper: css`
margin-left: ${theme.spacing.sm};
padding-left: ${theme.spacing.sm};
`,
bottomWrapper: css`
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
margin-left: ${theme.spacing.md};
padding-left: ${theme.spacing.md};
`,
section: css`
display: flex;