assistant2: Reduce message editor's maximum height (#22205)
This PR reduces the message editor's maximum height to 10 lines, after which point it will scroll. Release Notes: - N/A
This commit is contained in:
parent
7414e91a85
commit
fc00eaa161
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ impl MessageEditor {
|
|||
let inline_context_picker_menu_handle = PopoverMenuHandle::default();
|
||||
|
||||
let editor = cx.new_view(|cx| {
|
||||
let mut editor = Editor::auto_height(80, cx);
|
||||
let mut editor = Editor::auto_height(10, cx);
|
||||
editor.set_placeholder_text("Ask anything, @ to add context", cx);
|
||||
editor.set_show_indent_guides(false, cx);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue