PanelChrome: Fix tabbing to panel menu button (#69861)

Closes #66256
This commit is contained in:
kay delaney 2023-06-12 11:53:22 +01:00 committed by GitHub
parent 3f56939212
commit 2fd7d95d7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,14 +261,12 @@ const getStyles = (theme: GrafanaTheme2) => {
flexDirection: 'column',
'.show-on-hover': {
visibility: 'hidden',
opacity: '0',
},
'&:focus-visible, &:hover': {
// only show menu icon on hover or focused panel
'.show-on-hover': {
visibility: 'visible',
opacity: '1',
},
},