PieChart: Fix right-oriented legends (#116084)

* chore(gdev-dashboard): reproduce CSS layout bug in a panel

* fix(table-legend): tweak CSS for right oriented table legend in piechart

* chore(gdev-dashboard): update migrated dashboard file to match
This commit is contained in:
Jesse David Peterson
2026-01-09 21:07:35 +00:00
committed by GitHub
parent ba196958cd
commit 0c8c886930
4 changed files with 46 additions and 8 deletions
@@ -119,6 +119,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
table: css({
width: '100%',
'th:first-child': {
width: '100%',
borderBottom: `1px solid ${theme.colors.border.weak}`,
},
}),
@@ -134,6 +134,7 @@ const getStyles = (theme: GrafanaTheme2) => {
label: 'LegendLabelCell',
maxWidth: 0,
width: '100%',
minWidth: theme.spacing(16),
}),
labelCellInner: css({
label: 'LegendLabelCellInner',