mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DataTrails: Sticky controls (#83286)
* DataTrails: Sticky controls * Update
This commit is contained in:
parent
49e18a3e7a
commit
ea8b3267e5
@ -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,
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user