Prometheus: fix icons that are only visible on hover (#69731)

always make icons visible instead of only showing on hover to allow users to see outline when interacting with icons via keyboard navigation
This commit is contained in:
Galen Kistler
2023-06-08 09:30:10 -05:00
committed by GitHub
parent 365fd67c3f
commit a02bf1104c

View File

@@ -110,15 +110,9 @@ const getStyles = (theme: GrafanaTheme2) => {
padding: theme.spacing(0.5, 0.5, 0.5, 1),
display: 'flex',
alignItems: 'center',
'&:hover .operation-header-show-on-hover': css({
opacity: 1,
}),
}),
operationHeaderButtons: css({
opacity: 0,
transition: theme.transitions.create(['opacity'], {
duration: theme.transitions.duration.short,
}),
opacity: 1,
}),
selectWrapper: css({
paddingRight: theme.spacing(2),