Panels: Fixed error panel tooltip (#16993)
Fixes #16989
(cherry picked from commit 5573d28582)
This commit is contained in:
@@ -81,16 +81,21 @@ export class PanelHeader extends Component<Props, State> {
|
||||
|
||||
return (
|
||||
<>
|
||||
<PanelHeaderCorner
|
||||
panel={panel}
|
||||
title={panel.title}
|
||||
description={panel.description}
|
||||
scopedVars={panel.scopedVars}
|
||||
links={panel.links}
|
||||
error={error}
|
||||
/>
|
||||
<div className={panelHeaderClass}>
|
||||
<div className="panel-title-container" onClick={this.onMenuToggle} onMouseDown={this.onMouseDown}>
|
||||
<PanelHeaderCorner
|
||||
panel={panel}
|
||||
title={panel.title}
|
||||
description={panel.description}
|
||||
scopedVars={panel.scopedVars}
|
||||
links={panel.links}
|
||||
error={error}
|
||||
/>
|
||||
<div
|
||||
className="panel-title-container"
|
||||
onClick={this.onMenuToggle}
|
||||
onMouseDown={this.onMouseDown}
|
||||
aria-label="Panel Title"
|
||||
>
|
||||
<div className="panel-title">
|
||||
<span className="icon-gf panel-alert-icon" />
|
||||
<span className="panel-title-text">
|
||||
|
||||
@@ -126,6 +126,7 @@ $panel-header-no-title-zindex: 1;
|
||||
left: 0;
|
||||
width: $panel-header-height;
|
||||
height: $panel-header-height;
|
||||
z-index: $panel-header-no-title-zindex + 1;
|
||||
top: 0;
|
||||
|
||||
.fa {
|
||||
@@ -138,7 +139,8 @@ $panel-header-no-title-zindex: 1;
|
||||
|
||||
&--info {
|
||||
display: block;
|
||||
@include panel-corner-color(lighten($panel-corner, 4%));
|
||||
@include panel-corner-color(lighten($panel-corner, 6%));
|
||||
|
||||
.fa:before {
|
||||
content: '\f129';
|
||||
}
|
||||
@@ -146,7 +148,7 @@ $panel-header-no-title-zindex: 1;
|
||||
|
||||
&--links {
|
||||
display: block;
|
||||
@include panel-corner-color(lighten($panel-corner, 4%));
|
||||
@include panel-corner-color(lighten($panel-corner, 6%));
|
||||
.fa {
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user