diff --git a/public/app/features/trails/DataTrail.tsx b/public/app/features/trails/DataTrail.tsx index 0392dc87125..b229a525f8f 100644 --- a/public/app/features/trails/DataTrail.tsx +++ b/public/app/features/trails/DataTrail.tsx @@ -235,13 +235,17 @@ function getStyles(theme: GrafanaTheme2) { flexGrow: 1, display: 'flex', flexDirection: 'column', - gap: theme.spacing(1), }), controls: css({ display: 'flex', gap: theme.spacing(1), + padding: theme.spacing(1, 0), alignItems: 'flex-end', flexWrap: 'wrap', + position: 'sticky', + background: theme.isDark ? theme.colors.background.canvas : theme.colors.background.primary, + zIndex: theme.zIndex.activePanel + 1, + top: 0, }), }; }