From d1156aa7555f79bec31c26a81c197793a80e9429 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 15 Sep 2023 22:09:51 +0800 Subject: [PATCH] chore: update account setting styles --- web/src/components/Settings/AccessTokenSection.tsx | 14 +++++++++----- web/src/components/Settings/MyAccountSection.tsx | 13 +++++++------ web/src/components/UserAvatar.tsx | 2 +- web/src/layouts/Root.tsx | 2 +- web/src/pages/Setting.tsx | 2 +- 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/web/src/components/Settings/AccessTokenSection.tsx b/web/src/components/Settings/AccessTokenSection.tsx index 08f0e1ef..27eb777c 100644 --- a/web/src/components/Settings/AccessTokenSection.tsx +++ b/web/src/components/Settings/AccessTokenSection.tsx @@ -9,6 +9,7 @@ import { useTranslate } from "@/utils/i18n"; import showCreateAccessTokenDialog from "../CreateAccessTokenDialog"; import { showCommonDialog } from "../Dialog/CommonDialog"; import Icon from "../Icon"; +import LearnMore from "../LearnMore"; const listAccessTokens = async (username: string) => { const { data } = await axios.get(`/api/v2/users/${username}/access_tokens`); @@ -57,12 +58,15 @@ const AccessTokenSection = () => { <>
-
-
-

Access Tokens

-

A list of all access tokens for your account.

+
+
+

+ Access Tokens + +

+

A list of all access tokens for your account.

-
+
diff --git a/web/src/components/UserAvatar.tsx b/web/src/components/UserAvatar.tsx index 02a62a09..6488fd6c 100644 --- a/web/src/components/UserAvatar.tsx +++ b/web/src/components/UserAvatar.tsx @@ -10,7 +10,7 @@ const UserAvatar = (props: Props) => { return (
diff --git a/web/src/layouts/Root.tsx b/web/src/layouts/Root.tsx index 73711414..e6a2e76d 100644 --- a/web/src/layouts/Root.tsx +++ b/web/src/layouts/Root.tsx @@ -10,7 +10,7 @@ function Root() {
-
+
diff --git a/web/src/pages/Setting.tsx b/web/src/pages/Setting.tsx index d6954653..707d2a6b 100644 --- a/web/src/pages/Setting.tsx +++ b/web/src/pages/Setting.tsx @@ -94,7 +94,7 @@ const Setting = () => { ) : null}
-
+