Skip to content

Commit

Permalink
Add spacer between form buttons and form body in Create Advanced Watc…
Browse files Browse the repository at this point in the history
…h form. (elastic#46186)
  • Loading branch information
cjcenizal authored Sep 20, 2019
1 parent bae7f47 commit 037a2a2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const JsonWatchEditForm = () => {
<EuiSpacer />
</Fragment>
)}

<EuiFormRow
id="watchName"
label={i18n.translate('xpack.watcher.sections.watchEdit.json.form.watchNameLabel', {
Expand All @@ -102,6 +103,7 @@ export const JsonWatchEditForm = () => {
}}
/>
</EuiFormRow>

<ErrableFormRow
id="watchId"
label={i18n.translate('xpack.watcher.sections.watchEdit.json.form.watchIDLabel', {
Expand All @@ -127,7 +129,9 @@ export const JsonWatchEditForm = () => {
}}
/>
</ErrableFormRow>

<EuiSpacer size="s" />

<ErrableFormRow
id="watchJson"
label={
Expand Down Expand Up @@ -169,6 +173,9 @@ export const JsonWatchEditForm = () => {
}}
/>
</ErrableFormRow>

<EuiSpacer />

<EuiFlexGroup>
<EuiFlexItem grow={false}>
<EuiButton
Expand Down Expand Up @@ -208,6 +215,7 @@ export const JsonWatchEditForm = () => {
)}
</EuiButton>
</EuiFlexItem>

<EuiFlexItem grow={false}>
<EuiButtonEmpty data-test-subj="btnCancelWatch" onClick={() => goToWatchList()}>
{i18n.translate('xpack.watcher.sections.watchEdit.json.cancelButtonLabel', {
Expand Down

0 comments on commit 037a2a2

Please sign in to comment.