Skip to content

Commit

Permalink
Fix background styling of waterfall chart sidebar tooltip. (elastic#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkambic authored and kibanamachine committed Jul 7, 2021
1 parent 73adcb4 commit 0aeb180
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { WaterfallTooltipContent } from './waterfall_tooltip_content';
import { WaterfallTooltipResponsiveMaxWidth } from './styles';
import { WaterfallChartTooltip } from './styles';
import { FIXED_AXIS_HEIGHT } from './constants';
import { euiStyled } from '../../../../../../../../../src/plugins/kibana_react/common';
import { formatTooltipHeading } from '../../step_detail/waterfall/data_formatting';
Expand Down Expand Up @@ -116,7 +116,7 @@ export const MiddleTruncatedText = ({
<EuiScreenReaderOnly>
<span data-test-subj="middleTruncatedTextSROnly">{fullText}</span>
</EuiScreenReaderOnly>
<WaterfallTooltipResponsiveMaxWidth
<WaterfallChartTooltip
as={EuiToolTip}
content={
<WaterfallTooltipContent {...{ text: formatTooltipHeading(index, fullText), url }} />
Expand Down Expand Up @@ -164,7 +164,7 @@ export const MiddleTruncatedText = ({
</InnerContainer>
)}
</>
</WaterfallTooltipResponsiveMaxWidth>
</WaterfallChartTooltip>
<span>
<EuiLink href={url} external target="_blank">
<EuiScreenReaderOnly>
Expand Down

0 comments on commit 0aeb180

Please sign in to comment.