From 502d8b9e8db7a9d5705530f509d911ff56b64350 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 20 May 2023 18:51:28 -0400 Subject: [PATCH] fix: Tweak back button on desktop app --- app/scenes/Login/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scenes/Login/index.tsx b/app/scenes/Login/index.tsx index 7b6d9fea2..eec0fa0ed 100644 --- a/app/scenes/Login/index.tsx +++ b/app/scenes/Login/index.tsx @@ -45,7 +45,7 @@ function Header({ config }: { config?: Config | undefined }) { return ( - {t("Back to home")} + {Desktop.isElectron() ? t("Back") : t("Back to home")} ); } @@ -374,7 +374,7 @@ const Back = styled.a` display: flex; align-items: center; color: inherit; - padding: 32px; + padding: ${Desktop.isElectron() ? "48px 32px" : "32px"}; font-weight: 500; position: absolute;