Commit 0fa8ae4f by Johannes Schill

panel-header: Move the panel description/links/error container outside of panel…

panel-header: Move the panel description/links/error container outside of panel header to not interfere with the react-grid stuff
parent e979ed14
......@@ -43,7 +43,7 @@ export class PanelHeader extends PureComponent<Props, State> {
const panelHeaderClass = classNames({ 'panel-header': true, 'grid-drag-handle': !isFullscreen });
const { panel, dashboard, timeInfo } = this.props;
return (
<div className={panelHeaderClass}>
<>
{panel.description && (
<Tooltip
content={panel.description}
......@@ -60,6 +60,7 @@ export class PanelHeader extends PureComponent<Props, State> {
</span>
)}
<div className={panelHeaderClass}>
<div className="panel-title-container" onClick={this.onMenuToggle}>
<div className="panel-title">
<span className="icon-gf panel-alert-icon" />
......@@ -81,6 +82,7 @@ export class PanelHeader extends PureComponent<Props, State> {
</div>
</div>
</div>
</>
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment