mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user