ExploreMetrics: Keep gaps consistent between sticky elements (#94441)

style: maintain gap between sticky elements while scrolling
pull/94482/head
Nick Richmond 9 months ago committed by GitHub
parent 97a90591ca
commit 38827e5a16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      public/app/features/trails/MetricGraphScene.tsx

@ -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…
Cancel
Save