Skip to content

Commit

Permalink
fix: hide unnecessary tooltip content
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronoah committed Aug 20, 2018
1 parent ded0827 commit 9fdeb50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/components/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export class EuiTooltip extends React.Component {
>
<div style={this.state.arrowStyles} className="euiToolTip__arrow" />
<div
id="tooltip-content"
/*
* Justification for dangerousltSetInnerHTML:
* The EuiTooltip component wraps the content from point_series tooltip
Expand Down
4 changes: 4 additions & 0 deletions public/components/tooltip/tooltip.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
padding-right: 2 * @tooltip-space-tight;
}
}

#tooltip-content tr:last-child {
display: none;
}

0 comments on commit 9fdeb50

Please sign in to comment.