mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
hide sectionnav items when collapsed, ensure focus ring overlays active items (#58250)
This commit is contained in:
@@ -72,6 +72,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
flexShrink: 0,
|
||||
transition: theme.transitions.create(['width', 'max-height']),
|
||||
maxHeight: 0,
|
||||
visibility: 'hidden',
|
||||
[theme.breakpoints.up('md')]: {
|
||||
width: 0,
|
||||
maxHeight: 'unset',
|
||||
@@ -79,6 +80,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
}),
|
||||
navExpanded: css({
|
||||
maxHeight: '50vh',
|
||||
visibility: 'visible',
|
||||
[theme.breakpoints.up('md')]: {
|
||||
width: '250px',
|
||||
maxHeight: 'unset',
|
||||
|
||||
@@ -66,6 +66,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: underline;
|
||||
z-index: 1;
|
||||
}
|
||||
`,
|
||||
activeStyle: css`
|
||||
|
||||
Reference in New Issue
Block a user