fix: Tweak back button on desktop app

This commit is contained in:
Tom Moor
2023-05-20 18:51:28 -04:00
parent 7e6831c803
commit 502d8b9e8d

View File

@@ -45,7 +45,7 @@ function Header({ config }: { config?: Config | undefined }) {
return (
<Back href={isSubdomain ? env.URL : "https://www.getoutline.com"}>
<BackIcon /> {t("Back to home")}
<BackIcon /> {Desktop.isElectron() ? t("Back") : t("Back to home")}
</Back>
);
}
@@ -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;