thread view: Add small refinements to tool call UI (#36723)
Release Notes: - N/A
This commit is contained in:
parent
a977fbc5b0
commit
18fe68d991
2 changed files with 38 additions and 31 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue