mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
ExploreMetrics: Keep gaps consistent between sticky elements (#94441)
style: maintain gap between sticky elements while scrolling
This commit is contained in:
parent
97a90591ca
commit
38827e5a16
@ -62,6 +62,8 @@ function getStyles(theme: GrafanaTheme2, chromeHeaderHeight: number) {
|
||||
flexDirection: 'row',
|
||||
background: theme.isLight ? theme.colors.background.primary : theme.colors.background.canvas,
|
||||
position: 'sticky',
|
||||
paddingTop: theme.spacing(1),
|
||||
marginTop: `-${theme.spacing(1)}`,
|
||||
top: `${chromeHeaderHeight + 70}px`,
|
||||
zIndex: 10,
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user