diff --git a/public/app/core/components/Tooltip/withPopper.tsx b/public/app/core/components/Tooltip/withPopper.tsx index 247ad104186..b729c7cc3a4 100644 --- a/public/app/core/components/Tooltip/withPopper.tsx +++ b/public/app/core/components/Tooltip/withPopper.tsx @@ -68,6 +68,8 @@ export default function withPopper(WrappedComponent) { render() { const { show, placement } = this.state; + const className = this.props.className || ''; + return ( ); } diff --git a/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeader.tsx b/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeader.tsx index 37d9d53cb5d..32f3041bba5 100644 --- a/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeader.tsx +++ b/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeader.tsx @@ -42,15 +42,16 @@ export class PanelHeader extends PureComponent { const isLoading = false; const panelHeaderClass = classNames({ 'panel-header': true, 'grid-drag-handle': !isFullscreen }); const { panel, dashboard, timeInfo } = this.props; - const cornerCssClass = panel.description ? 'panel-info-corner--info' : ''; return (
- - - - - - + {panel.description && ( + + + + + + + )} {isLoading && (