Commit 37b3087b by Torkel Ödegaard Committed by GitHub

PanelHeader: Fix issue with panel header text ellipsis showing before needed (#27082)

parent cb82cf11
...@@ -177,10 +177,8 @@ export class PanelHeader extends Component<Props, State> { ...@@ -177,10 +177,8 @@ export class PanelHeader extends Component<Props, State> {
size="sm" size="sm"
/> />
)} )}
<span className="panel-title-text"> <span className="panel-title-text">{title}</span>
{title} <Icon name="angle-down" className="panel-menu-toggle" />
<Icon name="angle-down" className="panel-menu-toggle" />
</span>
{this.state.panelMenuOpen && ( {this.state.panelMenuOpen && (
<ClickOutsideWrapper onClick={this.closeMenu}> <ClickOutsideWrapper onClick={this.closeMenu}>
<PanelHeaderMenu items={menuItems} /> <PanelHeaderMenu items={menuItems} />
......
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