[release-12.0.1] TableNG: Align sparkline value correctly (#105013)

TableNG: Align sparkline value correctly (#104909)

fix: align sparkline value correctly


(cherry picked from commit 36dde3401c)

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
This commit is contained in:
Alex Spencer
2025-05-06 10:26:05 -06:00
committed by GitHub
co-authored by Adela Almasan
parent 519ad181b9
commit 6f806cb6f7
@@ -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' },
}),
});