agent: Make the message editor expandable (#28420)

This PR allows expanding the message editor textarea to fit almost the
total height of the Agent Panel. Stylistically, I'm also changing the
font family we use in the textarea to use the buffer font; want to
experiment with this for a bit.

Release Notes:

- agent: The Agent Panel textarea can now be expanded to fill almost the
total height of the panel.

---------

Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
This commit is contained in:
Danilo Leal 2025-04-10 21:53:52 -03:00 committed by GitHub
parent 2440faf4b2
commit 71c2a11bd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 142 additions and 31 deletions

View file

@ -1298,6 +1298,7 @@ impl AssistantPanel {
let configuration_error_ref = &configuration_error;
parent
.overflow_hidden()
.p_1p5()
.justify_end()
.gap_1()