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
This commit is contained in:
Roo Code 2025-09-25 18:16:24 +00:00
parent ab0644d367
commit 46dd63baa6

View file

@ -754,7 +754,7 @@ export const ChatRowContent = ({
return (
<>
<div style={headerStyle}>
<PocketKnife className="w-4" aria-label="Switch mode icon" />
<PocketKnife className="size-4" aria-label="Switch mode icon" />
<span style={{ fontWeight: "bold" }}>
{message.type === "ask" ? (
<>