From acb71dfb6932d6d7c8bd35eadf49a8ec6f4785f5 Mon Sep 17 00:00:00 2001 From: Johnny Date: Tue, 10 Jun 2025 22:51:42 +0800 Subject: [PATCH] chore: tweak button styles --- .../HomeSidebar/ShortcutsSection.tsx | 8 +-- .../components/HomeSidebar/TagsSection.tsx | 8 +-- web/src/components/MemoActionMenu.tsx | 12 ++-- .../MemoEditor/ActionButton/MarkdownMenu.tsx | 38 +++++----- web/src/components/Settings/MemberSection.tsx | 8 +-- web/src/components/Settings/SSOSection.tsx | 4 +- web/src/components/UserBanner.tsx | 72 ++++++++++--------- 7 files changed, 77 insertions(+), 73 deletions(-) diff --git a/web/src/components/HomeSidebar/ShortcutsSection.tsx b/web/src/components/HomeSidebar/ShortcutsSection.tsx index e963a28e0..5e64b442c 100644 --- a/web/src/components/HomeSidebar/ShortcutsSection.tsx +++ b/web/src/components/HomeSidebar/ShortcutsSection.tsx @@ -61,18 +61,18 @@ const ShortcutsSection = observer(() => { - -
+ +
- - -
- - {t("markdown.content-syntax")} - +
+ + +
+ + {t("markdown.content-syntax")} + +
diff --git a/web/src/components/Settings/MemberSection.tsx b/web/src/components/Settings/MemberSection.tsx index 8482f0dc0..2ac1d0b51 100644 --- a/web/src/components/Settings/MemberSection.tsx +++ b/web/src/components/Settings/MemberSection.tsx @@ -225,14 +225,14 @@ const MemberSection = observer(() => {
{user.state === State.NORMAL ? ( @@ -240,13 +240,13 @@ const MemberSection = observer(() => { <> diff --git a/web/src/components/Settings/SSOSection.tsx b/web/src/components/Settings/SSOSection.tsx index 949b74700..414aebc53 100644 --- a/web/src/components/Settings/SSOSection.tsx +++ b/web/src/components/Settings/SSOSection.tsx @@ -71,13 +71,13 @@ const SSOSection = () => {
diff --git a/web/src/components/UserBanner.tsx b/web/src/components/UserBanner.tsx index 366433803..b25a45d6b 100644 --- a/web/src/components/UserBanner.tsx +++ b/web/src/components/UserBanner.tsx @@ -46,41 +46,43 @@ const UserBanner = (props: Props) => {
- - - - - +
+ + + + + +