Skip to content

Commit 0677358

Browse files
committed
fix: remove margin from star icon in ChatHistoryTreeNode and FavoriteTreeNode components
1 parent 56c4e96 commit 0677358

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/renderer/src/components/layout/sidebar_items/chat/ChatHistoryTreeNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ const ChatHistoryTreeNode = React.memo(function ChatHistoryTreeNode({
353353
</Tooltip>
354354
)}
355355
{chat?.starred && (
356-
<StarFilled style={{ color: '#faad14', fontSize: '12px', marginRight: '4px' }} />
356+
<StarFilled style={{ color: '#faad14', fontSize: '12px'}} />
357357
)}
358358
<div className="tree-node-title">
359359
{isInlineEditing ? (

src/renderer/src/components/layout/sidebar_items/favorites/FavoriteTreeNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ const FavoriteTreeNode = React.memo(function FavoriteTreeNode({
301301
<div className="tree-node-content">
302302
<div className="tree-node-icon">{getIcon()}</div>
303303
{item?.starred && (
304-
<StarFilled style={{ color: '#faad14', fontSize: '12px', marginRight: '4px' }} />
304+
<StarFilled style={{ color: '#faad14', fontSize: '12px' }} />
305305
)}
306306
<div className="tree-node-title">
307307
{isInlineEditing ? (

0 commit comments

Comments
 (0)