agent: Remove layout shift due to the "waiting for confirmation" label (#34674)
Take 2 on https://github.com/zed-industries/zed/pull/33046. Release Notes: - N/A
This commit is contained in:
parent
f0a91502a9
commit
ed4deaa738
2 changed files with 5 additions and 3 deletions
|
@ -3202,7 +3202,10 @@ impl ActiveThread {
|
|||
.border_color(self.tool_card_border_color(cx))
|
||||
.rounded_b_lg()
|
||||
.child(
|
||||
LoadingLabel::new("Waiting for Confirmation").size(LabelSize::Small)
|
||||
div()
|
||||
.min_w(rems_from_px(145.))
|
||||
.child(LoadingLabel::new("Waiting for Confirmation").size(LabelSize::Small)
|
||||
)
|
||||
)
|
||||
.child(
|
||||
h_flex()
|
||||
|
@ -3247,7 +3250,6 @@ impl ActiveThread {
|
|||
},
|
||||
))
|
||||
})
|
||||
.child(ui::Divider::vertical())
|
||||
.child({
|
||||
let tool_id = tool_use.id.clone();
|
||||
Button::new("allow-tool-action", "Allow")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue