Skip to content

Commit

Permalink
💄 style: 优化 topic 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 4, 2023
1 parent a192764 commit 75dc034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/chat/[id]/Sidebar/Topic/TopicItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/chat/[id]/Sidebar/Topic/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Topic = () => {
const [activeTopicId] = useSessionStore((s) => [s.activeTopicId], shallow);
const { t } = useTranslation('empty');
return (
<Flexbox gap={8}>
<Flexbox gap={2}>
{topics?.length === 0 && (
<Empty
cover={`/images/empty_topic_${isDarkMode ? 'dark' : 'light'}.webp`}
Expand Down

0 comments on commit 75dc034

Please sign in to comment.