TabsLayoutManagerRendere: Fix custom grid not rendering inside a tab (#105452)

fix custom grid not rendering inside a tab
This commit is contained in:
Sergej-Vlasov
2025-05-15 12:58:32 +01:00
committed by GitHub
parent ba111e612b
commit 09bed3721d
@@ -117,7 +117,10 @@ const getStyles = (theme: GrafanaTheme2) => ({
display: 'flex',
flexDirection: 'column',
flex: 1,
minHeight: 0,
// Without this min height, the custom grid (SceneGridLayout) wont render
// Should be bigger than paddingTop value
// consist of paddingTop + 0.125 = 9px
minHeight: theme.spacing(1 + 0.125),
paddingTop: theme.spacing(1),
}),
});