Merge pull request #6212 from marshmalien/6210-fix-cred-form-button-layout

Fix credential form action button layout

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-03-09 17:32:34 +00:00 committed by GitHub
commit b6be8ca445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,11 @@ import FormActionGroup from '@components/FormActionGroup/FormActionGroup';
import AnsibleSelect from '@components/AnsibleSelect';
import { required } from '@util/validators';
import OrganizationLookup from '@components/Lookup/OrganizationLookup';
import { FormColumnLayout, SubFormLayout } from '@components/FormLayout';
import {
FormColumnLayout,
FormFullWidthLayout,
SubFormLayout,
} from '@components/FormLayout';
import { ManualSubForm, SourceControlSubForm } from './CredentialSubForms';
function CredentialFormFields({
@ -46,7 +50,7 @@ function CredentialFormFields({
};
return (
<>
<FormFullWidthLayout>
<FormField
id="credential-name"
label={i18n._(t`Name`)}
@ -109,7 +113,7 @@ function CredentialFormFields({
}
</SubFormLayout>
)}
</>
</FormFullWidthLayout>
);
}