diff --git a/src/user/UserCredentials.tsx b/src/user/UserCredentials.tsx index df733f2f03..045cdbf5ec 100644 --- a/src/user/UserCredentials.tsx +++ b/src/user/UserCredentials.tsx @@ -482,7 +482,11 @@ export const UserCredentials = ({ user }: UserCredentialsProps) => { , ]} > -
+ { } isRequired > -
- -
+
{ } isRequired > -
- -
+
{ labelOff={t("common:off")} /> )} - > + />
diff --git a/src/user/user-section.css b/src/user/user-section.css index 01bf3246a1..96bd979757 100644 --- a/src/user/user-section.css +++ b/src/user/user-section.css @@ -123,18 +123,8 @@ article.pf-c-card.pf-m-flat.kc-available-idps > div > div > h1 { margin: 6px 0 10px 35px; } -.kc-password, .kc-passwordConfirmation { - width: 355px; - float: right; -} - -.pf-c-form__group-label { - width: max-content; -} - -.pf-m-error { - display: inline-block; - margin-left: var(--pf-global--spacer--xl); +.keycloak__user-credentials__reset-form { + --pf-c-form--m-horizontal__group-label--md--GridColumnWidth: 13rem; } .kc-edit-icon {