mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
VizLegendTable: fixes column spacing to span to the right side (#35045)
* VizLegendTable: fixes column spacing to span to the right side * reverted text alignment to right * implemented a more readable solution for tabble legend spacing
This commit is contained in:
parent
aa7dbd7a69
commit
4d574bb8aa
@ -96,6 +96,9 @@ const getStyles = (theme: GrafanaTheme) => ({
|
||||
table: css`
|
||||
width: 100%;
|
||||
margin-left: ${theme.spacing.sm};
|
||||
th:first-child {
|
||||
width: 100%;
|
||||
}
|
||||
`,
|
||||
header: css`
|
||||
color: ${theme.colors.textBlue};
|
||||
@ -103,6 +106,7 @@ const getStyles = (theme: GrafanaTheme) => ({
|
||||
border-bottom: 1px solid ${theme.colors.border1};
|
||||
padding: ${theme.spacing.xxs} ${theme.spacing.sm};
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
`,
|
||||
headerSortable: css`
|
||||
cursor: pointer;
|
||||
|
Loading…
Reference in New Issue
Block a user