Skip to content

Commit c69e4c0

Browse files
committed
[ML] update layout to full width
1 parent 5d6e264 commit c69e4c0

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

x-pack/legacy/plugins/ml/public/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,8 @@ export const AdditionalSection: FC<Props> = ({ additionalExpanded, setAdditional
3131
<EuiFlexGroup gutterSize="xl" style={{ marginLeft: '0px', marginRight: '0px' }}>
3232
<EuiFlexItem>
3333
<CustomUrlsSelection />
34-
</EuiFlexItem>
35-
<EuiFlexItem />
36-
</EuiFlexGroup>
37-
<EuiFlexGroup gutterSize="xl" style={{ marginLeft: '0px', marginRight: '0px' }}>
38-
<EuiFlexItem>
3934
<CalendarsSelection />
4035
</EuiFlexItem>
41-
<EuiFlexItem />
4236
</EuiFlexGroup>
4337
</EuiAccordion>
4438
</Fragment>

x-pack/legacy/plugins/ml/public/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const Description: FC = memo(({ children }) => {
2121
);
2222
return (
2323
<EuiDescribedFormGroup
24+
fullWidth
2425
idAria="description"
2526
title={<h3>{title}</h3>}
2627
description={
@@ -41,7 +42,7 @@ export const Description: FC = memo(({ children }) => {
4142
/>
4243
}
4344
>
44-
<EuiFormRow label={title} describedByIds={['description']}>
45+
<EuiFormRow label={title} describedByIds={['description']} fullWidth>
4546
<>{children}</>
4647
</EuiFormRow>
4748
</EuiDescribedFormGroup>

x-pack/legacy/plugins/ml/public/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const Description: FC = memo(({ children }) => {
2121
);
2222
return (
2323
<EuiDescribedFormGroup
24+
fullWidth
2425
idAria="description"
2526
title={<h3>{title}</h3>}
2627
description={
@@ -40,7 +41,7 @@ export const Description: FC = memo(({ children }) => {
4041
/>
4142
}
4243
>
43-
<EuiFormRow label={title} describedByIds={['description']}>
44+
<EuiFormRow label={title} describedByIds={['description']} fullWidth>
4445
<>{children}</>
4546
</EuiFormRow>
4647
</EuiDescribedFormGroup>

0 commit comments

Comments
 (0)