mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-10 22:41:14 +00:00
fix: optimize ChatRowContent layout and styles (#4205)
* fix: optimize ChatRowContent layout and styles * adjust ui calc performance
This commit is contained in:
parent
eb9c4aa03d
commit
662d6abfbd
1 changed files with 4 additions and 3 deletions
|
|
@ -904,14 +904,15 @@ export const ChatRowContent = ({
|
|||
)
|
||||
case "user_feedback":
|
||||
return (
|
||||
<div className="bg-vscode-editor-background border rounded-xs p-1 overflow-hidden whitespace-pre-wrap word-break-break-word overflow-wrap-anywhere">
|
||||
<div className="flex justify-between gap-2">
|
||||
<div className="flex-grow px-2 py-1">
|
||||
<div className="bg-vscode-editor-background border rounded-xs p-1 overflow-hidden whitespace-pre-wrap">
|
||||
<div className="flex justify-between">
|
||||
<div className="flex-grow px-2 py-1 wrap-anywhere">
|
||||
<Mention text={message.text} withShadow />
|
||||
</div>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="shrink-0"
|
||||
disabled={isStreaming}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue