mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: align ContextMenu position in message edit mode
- Remove conditional left positioning (left-6 vs left-0) based on isEditMode - Remove conditional bottom margin (-mb-3 vs mb-2) based on isEditMode - Ensures ContextMenu appears consistently close to the input area in both modes - Fixes issue where ContextMenu was misplaced when editing messages Fixes #8190
This commit is contained in:
parent
b75ef1dd83
commit
b80dc501f6
1 changed files with 2 additions and 2 deletions
|
|
@ -945,10 +945,10 @@ export const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
|
|||
className={cn(
|
||||
"absolute",
|
||||
"bottom-full",
|
||||
isEditMode ? "left-6" : "left-0",
|
||||
"left-0",
|
||||
"right-0",
|
||||
"z-[1000]",
|
||||
isEditMode ? "-mb-3" : "mb-2",
|
||||
"mb-2",
|
||||
"filter",
|
||||
"drop-shadow-md",
|
||||
)}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue