TableNG: Align sparkline value correctly (#104909)

fix: align sparkline value correctly

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
This commit is contained in:
Alex Spencer
2025-05-05 16:03:12 -06:00
committed by GitHub
co-authored by Adela Almasan
parent 2f41c7c289
commit 36dde3401c
@@ -101,6 +101,7 @@ export const SparklineCell = (props: SparklineCellProps) => {
textAlign: 'right',
marginRight: theme.spacing(1),
}}
className={styles.valueContainer}
value={displayValue}
/>
);
@@ -157,4 +158,7 @@ const getStyles = (theme: GrafanaTheme2, justifyContent: Property.JustifyContent
alignItems: 'center',
justifyContent,
}),
valueContainer: css({
div: { width: 'inherit' },
}),
});