From fb042a36b68ff037ab6940f924eb122fa48b3e02 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Mon, 9 May 2022 12:43:27 +0100 Subject: [PATCH] Fix Mobile UI for /settings/security (#2703) * Fix Mobile UI * Remove truncate * Move buttons Co-authored-by: Peer Richelsen --- apps/web/components/security/ChangePasswordSection.tsx | 8 ++++---- apps/web/components/security/TwoFactorAuthSection.tsx | 4 ++-- apps/web/ee/components/apiKeys/ApiKeyListContainer.tsx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/web/components/security/ChangePasswordSection.tsx b/apps/web/components/security/ChangePasswordSection.tsx index 3c8684ad..3b8562cf 100644 --- a/apps/web/components/security/ChangePasswordSection.tsx +++ b/apps/web/components/security/ChangePasswordSection.tsx @@ -61,8 +61,8 @@ const ChangePasswordSection = () => {

{t("change_password")}

-
-
+
+
@@ -79,7 +79,7 @@ const ChangePasswordSection = () => { />
-
+
@@ -98,7 +98,7 @@ const ChangePasswordSection = () => {
{errorMessage &&

{errorMessage}

} -
+
diff --git a/apps/web/components/security/TwoFactorAuthSection.tsx b/apps/web/components/security/TwoFactorAuthSection.tsx index 72aaeb88..b21273fd 100644 --- a/apps/web/components/security/TwoFactorAuthSection.tsx +++ b/apps/web/components/security/TwoFactorAuthSection.tsx @@ -17,7 +17,7 @@ const TwoFactorAuthSection = ({ twoFactorEnabled }: { twoFactorEnabled: boolean return ( <> -
+

{t("2fa")}

@@ -27,7 +27,7 @@ const TwoFactorAuthSection = ({ twoFactorEnabled }: { twoFactorEnabled: boolean

{t("add_an_extra_layer_of_security")}

-
+