mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore metrics: fix flexGrow issue with native histograms banner (#99346)
This commit is contained in:
committed by
GitHub
parent
7564ce8ce1
commit
887e9fb5b5
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user