TabsLayoutManagerRendere: Fix custom grid not rendering inside a tab (#105452)
fix custom grid not rendering inside a tab
This commit is contained in:
@@ -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),
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user