Skip to content

Commit

Permalink
use anchorClassName instead of targetin eui class directly
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Nov 21, 2019
1 parent 5fc0e87 commit 629d3fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.mlDataFrameAnalyticsRegression__evaluateStat span.euiToolTipAnchor {
.mlDataFrameAnalyticsRegression__evaluateStat {
padding-top: $euiSizeL;
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ export const EvaluateStat: FC<Props> = ({ isLoading, isMSE, title }) => (
titleSize="xxs"
/>
</EuiFlexItem>
<EuiFlexItem grow={false} className="mlDataFrameAnalyticsRegression__evaluateStat">
<EuiIconTip content={isMSE ? meanSquaredErrorTooltipContent : rSquaredTooltipContent} />
<EuiFlexItem grow={false}>
<EuiIconTip
anchorClassName="mlDataFrameAnalyticsRegression__evaluateStat"
content={isMSE ? meanSquaredErrorTooltipContent : rSquaredTooltipContent}
/>
</EuiFlexItem>
</EuiFlexGroup>
);

0 comments on commit 629d3fd

Please sign in to comment.