agent: Add small design tweaks (#28874)

Some small adjustments to simplify the agent panel's design.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-04-16 13:03:36 -03:00 committed by GitHub
parent 486a9e4d61
commit 4f58bdee28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 22 deletions

View file

@ -2343,6 +2343,9 @@ impl ActiveThread {
rendered.input.clone(),
tool_use_markdown_style(window, cx),
)
.code_block_renderer(markdown::CodeBlockRenderer::Default {
copy_button: false,
})
.on_url_click({
let workspace = self.workspace.clone();
move |text, window, cx| {
@ -2369,6 +2372,9 @@ impl ActiveThread {
rendered.output.clone(),
tool_use_markdown_style(window, cx),
)
.code_block_renderer(markdown::CodeBlockRenderer::Default {
copy_button: false,
})
.on_url_click({
let workspace = self.workspace.clone();
move |text, window, cx| {
@ -2544,7 +2550,7 @@ impl ActiveThread {
)
} else {
v_flex()
.my_3()
.my_2()
.rounded_lg()
.border_1()
.border_color(self.tool_card_border_color(cx))