Skip to content

Commit 1368bd1

Browse files
committed
adjust ui calc performance
1 parent abb1178 commit 1368bd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,12 +906,13 @@ export const ChatRowContent = ({
906906
return (
907907
<div className="bg-vscode-editor-background border rounded-xs p-1 overflow-hidden whitespace-pre-wrap">
908908
<div className="flex justify-between">
909-
<div className="flex-grow px-2 py-1 w-fit wrap-anywhere">
909+
<div className="flex-grow px-2 py-1 wrap-anywhere">
910910
<Mention text={message.text} withShadow />
911911
</div>
912912
<Button
913913
variant="ghost"
914914
size="icon"
915+
className="shrink-0"
915916
disabled={isStreaming}
916917
onClick={(e) => {
917918
e.stopPropagation()

0 commit comments

Comments
 (0)