From 96d44bd65179ed7b7e5a031accc8d44ba414873d Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 4 Jul 2023 21:23:11 +0800 Subject: [PATCH] chore: update header style --- web/src/components/Header.tsx | 2 +- .../components/setting/WorkspaceSection.tsx | 24 +++++++++---------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/web/src/components/Header.tsx b/web/src/components/Header.tsx index 945ed04..ff30c77 100644 --- a/web/src/components/Header.tsx +++ b/web/src/components/Header.tsx @@ -17,7 +17,7 @@ const Header: React.FC = () => { return ( <> -
+
diff --git a/web/src/components/setting/WorkspaceSection.tsx b/web/src/components/setting/WorkspaceSection.tsx index 74b7f25..3f84c53 100644 --- a/web/src/components/setting/WorkspaceSection.tsx +++ b/web/src/components/setting/WorkspaceSection.tsx @@ -17,20 +17,18 @@ const WorkspaceSection: React.FC = () => { }; return ( - <> -
-

Workspace settings

-
- handleDisallowSignUpChange(event.target.checked)} - /> -

Once disabled, other users cannot signup.

-
+
+

Workspace settings

+
+ handleDisallowSignUpChange(event.target.checked)} + /> +

Once disabled, other users cannot signup.

- +
); };