From 5e6c4872c21c0a45efa320175aa7dd62fc8f93d9 Mon Sep 17 00:00:00 2001 From: tzhangchi Date: Fri, 6 Jan 2023 01:29:08 +0800 Subject: [PATCH] chore: better style code --- packages/app/src/components/workspace-modal/index.tsx | 1 - .../app/src/components/workspace-setting/general/general.tsx | 1 - .../workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/packages/app/src/components/workspace-modal/index.tsx b/packages/app/src/components/workspace-modal/index.tsx index e2a3b55f4b..426e71cc39 100644 --- a/packages/app/src/components/workspace-modal/index.tsx +++ b/packages/app/src/components/workspace-modal/index.tsx @@ -87,7 +87,6 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => { border: '1px solid #fff', color: '#fff', fontSize: '22px', - padding: '5px 0 0 5px;', background: stringToColour(item.name || 'AFFiNE'), borderRadius: '50%', textAlign: 'center', diff --git a/packages/app/src/components/workspace-setting/general/general.tsx b/packages/app/src/components/workspace-setting/general/general.tsx index e6d568dcc2..9c30f4d534 100644 --- a/packages/app/src/components/workspace-setting/general/general.tsx +++ b/packages/app/src/components/workspace-setting/general/general.tsx @@ -90,7 +90,6 @@ export const GeneralPage = ({ workspace }: { workspace: Workspace }) => { border: '1px solid #fff', color: '#fff', fontSize: '26px', - padding: '5px 0 0 5px;', background: stringToColour(workspace?.name ?? 'AFFiNE'), borderRadius: '50%', textAlign: 'center', diff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsx b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsx index 9004ef72a9..affda10fff 100644 --- a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsx +++ b/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsx @@ -42,7 +42,6 @@ export const WorkspaceSelector = () => { border: '1px solid #fff', color: '#fff', fontSize: '14px', - padding: '5px 0 0 5px;', background: stringToColour(workspace?.name ?? 'AFFiNE'), borderRadius: '50%', textAlign: 'center',