Skip to content

Commit

Permalink
[ML] Fixes word wrap in Overview page sidebar on IE
Browse files Browse the repository at this point in the history
  • Loading branch information
peteharverson committed Nov 14, 2019
1 parent e44616e commit 335761b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions x-pack/legacy/plugins/ml/public/overview/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ function getCreateJobLink(createAnomalyDetectionJobDisabled: boolean) {
return createAnomalyDetectionJobDisabled === true ? (
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionCreateJob"
defaultMessage="creating a new job"
defaultMessage="creating a new job"
/>
) : (
<EuiLink href={createJobLink} target="blank">
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionCreateJob"
defaultMessage="creating a new job"
defaultMessage="creating a new job"
/>
</EuiLink>
);
Expand All @@ -43,15 +43,13 @@ export const OverviewSideBar: FC<Props> = ({ createAnomalyDetectionJobDisabled }
<h2>
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionTitle"
defaultMessage="Getting Started"
defaultMessage="Getting started"
/>
</h2>
<p>
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionText"
defaultMessage="Welcome to Machine Learning. Get started by reviewing our {docs} or {createJob}.
For more information about machine learning in the Elastic stack please see {whatIsMachineLearning}.
We recommend using {transforms} to create feature indices for analytics jobs."
defaultMessage="Welcome to Machine Learning. Get started by reviewing our {docs} or {createJob}. For more information about machine learning in the Elastic stack please see {whatIsMachineLearning}. We recommend using {transforms} to create feature indices for analytics jobs."
values={{
docs: (
<EuiLink href={docsLink} target="blank">
Expand Down Expand Up @@ -87,13 +85,13 @@ export const OverviewSideBar: FC<Props> = ({ createAnomalyDetectionJobDisabled }
<p>
<FormattedMessage
id="xpack.ml.overview.feedbackSectionText"
defaultMessage="If you have input or suggestions regarding your experience with Machine Learning please feel free to submit {feedbackLink}."
defaultMessage="If you have input or suggestions regarding your experience with Machine Learning please feel free to submit {feedbackLink}."
values={{
feedbackLink: (
<EuiLink href={feedbackLink} target="blank">
<FormattedMessage
id="xpack.ml.overview.feedbackSectionLink"
defaultMessage="feedback online"
defaultMessage="feedback online"
/>
</EuiLink>
),
Expand Down

0 comments on commit 335761b

Please sign in to comment.