PanelChrome: Fixes title max width, and make make menu more prominent (#64492)

* PanelChrome: Fixes title max width, and make make menu more prominent

* Add fix for wrapping timeshift
This commit is contained in:
Torkel Ödegaard
2023-03-10 12:25:25 +01:00
committed by GitHub
parent 4c8855ed2d
commit af5ee9c66d
2 changed files with 5 additions and 1 deletions

View File

@@ -285,7 +285,6 @@ const getStyles = (theme: GrafanaTheme2) => {
textOverflow: 'ellipsis',
overflow: 'hidden',
whiteSpace: 'nowrap',
maxWidth: theme.spacing(50),
fontSize: theme.typography.h6.fontSize,
fontWeight: theme.typography.h6.fontWeight,
}),
@@ -301,6 +300,10 @@ const getStyles = (theme: GrafanaTheme2) => {
label: 'panel-menu',
visibility: 'hidden',
border: 'none',
background: theme.colors.secondary.main,
'&:hover': {
background: theme.colors.secondary.shade,
},
}),
errorContainerFloating: css({
label: 'error-container',