fix: minor styling fixes

This commit is contained in:
thecodrr
2021-11-02 08:44:40 +05:00
parent 5bf860a45b
commit da3da3454c
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ function Toggle(props) {
":hover": { borderBottomColor: "primary" },
}}
>
<Tip text={title} tip={isToggled ? onTip : offTip} />
<Tip text={title} tip={isToggled ? onTip : offTip} sx={{ mr: 2 }} />
<Switch onClick={onClick} checked={isToggled} />
</Flex>
);

View File

@@ -176,7 +176,7 @@ function Settings(props) {
<AccountStatus user={user} />
) : (
<Flex
p={1}
py={1}
sx={{ borderRadius: "default", cursor: "pointer" }}
onClick={async () => {
hardNavigate("/login", { redirect: "/settings" });