Commit 002ef5e8 by Torkel Ödegaard Committed by GitHub

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

parent 4971ce6a
...@@ -73,14 +73,14 @@ const getStyles = (theme: GrafanaTheme) => ({ ...@@ -73,14 +73,14 @@ const getStyles = (theme: GrafanaTheme) => ({
margin-bottom: ${theme.spacing.xs}; margin-bottom: ${theme.spacing.xs};
`, `,
rightWrapper: css` rightWrapper: css`
margin-left: ${theme.spacing.sm}; padding-left: ${theme.spacing.sm};
`, `,
bottomWrapper: css` bottomWrapper: css`
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
margin-left: ${theme.spacing.md}; padding-left: ${theme.spacing.md};
`, `,
section: css` section: css`
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment