Skip to content

Commit 46dd63b

Browse files
committed
fix: ensure mode switch icon maintains consistent size
- Changed PocketKnife icon from className="w-4" to className="size-4" - This ensures both width and height are set to prevent icon shrinking - Aligns with TerminalSquare icon implementation for consistency
1 parent ab0644d commit 46dd63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/chat/ChatRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ export const ChatRowContent = ({
754754
return (
755755
<>
756756
<div style={headerStyle}>
757-
<PocketKnife className="w-4" aria-label="Switch mode icon" />
757+
<PocketKnife className="size-4" aria-label="Switch mode icon" />
758758
<span style={{ fontWeight: "bold" }}>
759759
{message.type === "ask" ? (
760760
<>

0 commit comments

Comments
 (0)