From 75dc0345ae5c3152c1dd25618bc416a77d7dc992 Mon Sep 17 00:00:00 2001 From: arvinxx Date: Fri, 4 Aug 2023 23:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20=E4=BC=98=E5=8C=96=20to?= =?UTF-8?q?pic=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/chat/[id]/Sidebar/Topic/TopicItem.tsx | 2 +- src/pages/chat/[id]/Sidebar/Topic/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/chat/[id]/Sidebar/Topic/TopicItem.tsx b/src/pages/chat/[id]/Sidebar/Topic/TopicItem.tsx index ea3735ae9c11..a790159b9db9 100644 --- a/src/pages/chat/[id]/Sidebar/Topic/TopicItem.tsx +++ b/src/pages/chat/[id]/Sidebar/Topic/TopicItem.tsx @@ -19,7 +19,7 @@ const useStyles = createStyles(({ css, token, isDarkMode }) => ({ `, container: css` cursor: pointer; - padding: 12px 8px; + padding: 8px; border-radius: ${token.borderRadius}px; .topic-more { diff --git a/src/pages/chat/[id]/Sidebar/Topic/index.tsx b/src/pages/chat/[id]/Sidebar/Topic/index.tsx index a688f9f21222..e5e06e31d32b 100644 --- a/src/pages/chat/[id]/Sidebar/Topic/index.tsx +++ b/src/pages/chat/[id]/Sidebar/Topic/index.tsx @@ -14,7 +14,7 @@ export const Topic = () => { const [activeTopicId] = useSessionStore((s) => [s.activeTopicId], shallow); const { t } = useTranslation('empty'); return ( - + {topics?.length === 0 && (