fixes vertical alignment of forms with switches (#122)
This commit is contained in:
parent
32f5aa0e6f
commit
457729ba75
2 changed files with 16 additions and 3 deletions
|
@ -115,6 +115,7 @@ export const NewClientScopeForm = () => {
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
|
hasNoPaddingTop
|
||||||
label={
|
label={
|
||||||
<>
|
<>
|
||||||
{t("displayOnConsentScreen")}{" "}
|
{t("displayOnConsentScreen")}{" "}
|
||||||
|
|
|
@ -18,7 +18,11 @@ export const CapabilityConfig = ({ form }: CapabilityConfigProps) => {
|
||||||
const { t } = useTranslation("clients");
|
const { t } = useTranslation("clients");
|
||||||
return (
|
return (
|
||||||
<Form isHorizontal>
|
<Form isHorizontal>
|
||||||
<FormGroup label={t("clientAuthentication")} fieldId="kc-authentication">
|
<FormGroup
|
||||||
|
hasNoPaddingTop
|
||||||
|
label={t("clientAuthentication")}
|
||||||
|
fieldId="kc-authentication"
|
||||||
|
>
|
||||||
<Controller
|
<Controller
|
||||||
name="publicClient"
|
name="publicClient"
|
||||||
defaultValue={false}
|
defaultValue={false}
|
||||||
|
@ -35,7 +39,11 @@ export const CapabilityConfig = ({ form }: CapabilityConfigProps) => {
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup label={t("clientAuthorization")} fieldId="kc-authorization">
|
<FormGroup
|
||||||
|
hasNoPaddingTop
|
||||||
|
label={t("clientAuthorization")}
|
||||||
|
fieldId="kc-authorization"
|
||||||
|
>
|
||||||
<Controller
|
<Controller
|
||||||
name="authorizationServicesEnabled"
|
name="authorizationServicesEnabled"
|
||||||
defaultValue={false}
|
defaultValue={false}
|
||||||
|
@ -52,7 +60,11 @@ export const CapabilityConfig = ({ form }: CapabilityConfigProps) => {
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup label={t("authenticationFlow")} fieldId="kc-flow">
|
<FormGroup
|
||||||
|
hasNoPaddingTop
|
||||||
|
label={t("authenticationFlow")}
|
||||||
|
fieldId="kc-flow"
|
||||||
|
>
|
||||||
<Grid>
|
<Grid>
|
||||||
<GridItem lg={4} sm={6}>
|
<GridItem lg={4} sm={6}>
|
||||||
<Controller
|
<Controller
|
||||||
|
|
Loading…
Reference in a new issue