ToolbarButton: Auto width on smaller screen sizes (#96023)

* fix bug

* optimise

* delete annotation

* optimise
This commit is contained in:
jackyin 2024-11-27 20:50:44 +08:00 committed by GitHub
parent 5a91ab46af
commit 5b0b9c9ecc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,6 +159,10 @@ const getStyles = (theme: GrafanaTheme2) => {
}),
},
[theme.breakpoints.down('md')]: {
width: 'auto !important',
},
'&:focus, &:focus-visible': {
...getFocusStyles(theme),
zIndex: 1,