mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Legend: Right align calculation values (#52400)
This commit is contained in:
parent
e0d1af1867
commit
49311e1cfb
@ -108,9 +108,9 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
color: ${theme.colors.primary.text};
|
||||
font-weight: ${theme.typography.fontWeightMedium};
|
||||
border-bottom: 1px solid ${theme.colors.border.weak};
|
||||
padding: ${theme.spacing(0.25, 2, 0.25, 1)};
|
||||
padding: ${theme.spacing(0.25, 1, 0.25, 1)};
|
||||
font-size: ${theme.typography.bodySmall.fontSize};
|
||||
text-align: left;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
`,
|
||||
// This needs to be padding-right - icon size(xs==12) to avoid jumping
|
||||
|
@ -123,7 +123,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
align-items: center;
|
||||
`,
|
||||
value: css`
|
||||
text-align: left;
|
||||
text-align: right;
|
||||
`,
|
||||
yAxisLabel: css`
|
||||
color: ${theme.colors.text.secondary};
|
||||
|
Loading…
Reference in New Issue
Block a user