Skip to content

Commit

Permalink
[ML] remove tooltip wrapper for partition value control
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Oct 26, 2020
1 parent 82ba41c commit d548e7d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
}
}

.single-metric-request-callout {
margin: 0 $euiSize;
}

.results-container {
.panel-title {
font-size: $euiFontSizeM;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ import React, { Component } from 'react';
import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';

import {
EuiComboBox,
EuiComboBoxOptionOption,
EuiFlexItem,
EuiFormRow,
EuiToolTip,
} from '@elastic/eui';
import { EuiComboBox, EuiComboBoxOptionOption, EuiFlexItem, EuiFormRow } from '@elastic/eui';

export interface Entity {
fieldName: string;
Expand Down Expand Up @@ -156,9 +150,7 @@ export class EntityControl extends Component<EntityControlProps, EntityControlSt
return (
<EuiFlexItem grow={false}>
<EuiFormRow label={entity.fieldName} helpText={forceSelection ? selectMessage : null}>
<EuiToolTip position="right" content={forceSelection ? selectMessage : null}>
{control}
</EuiToolTip>
{control}
</EuiFormRow>
</EuiFlexItem>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,6 @@ export class TimeSeriesExplorer extends React.Component {
<TimeSeriesExplorerPage dateFormatTz={dateFormatTz} resizeRef={this.resizeRef}>
{fieldNamesWithEmptyValues.length > 0 && (
<EuiCallOut
className="single-metric-request-callout"
title={
<FormattedMessage
id="xpack.ml.timeSeriesExplorer.singleMetricRequiredMessage"
Expand Down

0 comments on commit d548e7d

Please sign in to comment.