diff --git a/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx b/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx index 3ff8f3b0e2b..d6d0c40c2c7 100644 --- a/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx +++ b/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx @@ -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', diff --git a/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderTitleItems.tsx b/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderTitleItems.tsx index 8f43db0f959..64cc2795c96 100644 --- a/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderTitleItems.tsx +++ b/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderTitleItems.tsx @@ -74,6 +74,7 @@ const getStyles = (theme: GrafanaTheme2) => { timeshift: css({ color: theme.colors.text.link, gap: theme.spacing(0.5), + whiteSpace: 'nowrap', '&:hover': { color: theme.colors.emphasize(theme.colors.text.link, 0.03),