diff --git a/frontend/src/components/PasswordConfirmation.tsx b/frontend/src/components/PasswordConfirmation.tsx index ce84ee3de..85abf10d6 100644 --- a/frontend/src/components/PasswordConfirmation.tsx +++ b/frontend/src/components/PasswordConfirmation.tsx @@ -84,16 +84,18 @@ const PasswordConfirmationModal: React.FC = ({ {title} - - - {t("common.password")} - - + + + + {t("common.password")} + + - - + + + diff --git a/frontend/src/components/Session/EndSessionButton.tsx b/frontend/src/components/Session/EndSessionButton.tsx index 43834ab51..8dd0af67d 100644 --- a/frontend/src/components/Session/EndSessionButton.tsx +++ b/frontend/src/components/Session/EndSessionButton.tsx @@ -44,7 +44,7 @@ const EndSessionButton: React.FC< {t("frontend.end_session_button.confirmation_modal_title")} - {children && {children}} + {children && {children}} diff --git a/frontend/src/components/UserGreeting/UserGreeting.tsx b/frontend/src/components/UserGreeting/UserGreeting.tsx index cf2ee043f..d636cc7a6 100644 --- a/frontend/src/components/UserGreeting/UserGreeting.tsx +++ b/frontend/src/components/UserGreeting/UserGreeting.tsx @@ -159,51 +159,53 @@ const UserGreeting: React.FC = ({ user, siteConfig }) => { name={data.matrix.displayName || data.matrix.mxid} /> - -
- - - {t("frontend.account.edit_profile.display_name_label")} - + + +
+ + + {t("frontend.account.edit_profile.display_name_label")} + - { - if (fieldRef.current) { - fieldRef.current.value = ""; - fieldRef.current.focus(); - } - }} - /> + { + if (fieldRef.current) { + fieldRef.current.value = ""; + fieldRef.current.focus(); + } + }} + /> - - {t("frontend.account.edit_profile.display_name_help")} - - + + {t("frontend.account.edit_profile.display_name_help")} + + - - - {t("frontend.account.edit_profile.username_label")} - - - -
+ + + {t("frontend.account.edit_profile.username_label")} + + + +
- - {setDisplayName.isPending && } - {t("action.save")} - -
+ + {setDisplayName.isPending && } + {t("action.save")} + + + diff --git a/frontend/src/routes/_account.index.tsx b/frontend/src/routes/_account.index.tsx index a4cdc2aa0..7c02dbaca 100644 --- a/frontend/src/routes/_account.index.tsx +++ b/frontend/src/routes/_account.index.tsx @@ -156,17 +156,19 @@ const SignOutButton: React.FC<{ id: string }> = ({ id }) => { > {t("frontend.account.sign_out.dialog")} - + + + diff --git a/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap b/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap index ab7e81e36..5641ca2c6 100644 --- a/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap +++ b/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap @@ -29,6 +29,7 @@ exports[`Account home page > display name edit box > displays an error if the di
display name edit box > lets edit the display name