Explore metrics: fix flexGrow issue with native histograms banner (#99346)

This commit is contained in:
Brendan O'Handley
2025-01-22 18:07:51 -06:00
committed by GitHub
parent 7564ce8ce1
commit 887e9fb5b5

View File

@@ -34,6 +34,7 @@ export function NativeHistogramBanner(props: NativeHistogramInfoProps) {
onRemove={() => {
setHistogramMessage(false);
}}
className={styles.banner}
>
<div className={styles.histogramRow}>
<div className={styles.histogramSentence}>
@@ -231,6 +232,9 @@ const NativeHistogramExamples = ({ trail, nativeHistograms, setHistogramMessage
function getStyles(theme: GrafanaTheme2, _chromeHeaderHeight: number) {
return {
banner: css({
flexGrow: 0,
}),
histogramRow: css({
display: 'flex',
flexDirection: 'row',