thread view: Add small refinements to tool call UI (#36723)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-08-21 20:51:36 -03:00 committed by GitHub
parent a977fbc5b0
commit 18fe68d991
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 31 deletions

View file

@ -1089,7 +1089,7 @@ impl Element for MarkdownElement {
.absolute()
.top_1()
.right_1()
.justify_center()
.justify_end()
.child(codeblock),
)
});
@ -1320,6 +1320,7 @@ fn render_copy_code_block_button(
)
.icon_color(Color::Muted)
.icon_size(IconSize::Small)
.style(ButtonStyle::Filled)
.shape(ui::IconButtonShape::Square)
.tooltip(Tooltip::text("Copy Code"))
.on_click({