Panels: Fixed error panel tooltip (#16993)

Fixes #16989
This commit is contained in:
Torkel Ödegaard 2019-05-10 11:35:55 +02:00 committed by GitHub
parent 5e44f001fb
commit 5573d28582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 10 deletions

View File

@ -81,15 +81,15 @@ 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}>
<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}

View File

@ -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;
}