agent: Adjust retry on Burn Mode layout (#34680)

Quick follow-up to https://github.com/zed-industries/zed/pull/34669 so
that the buttons don't look so big in comparison to the callout.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-07-17 22:19:27 -03:00 committed by GitHub
parent c287397a18
commit 8a7bd5f47b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2981,6 +2981,8 @@ impl AgentPanel {
let retry_button = Button::new("retry", "Retry")
.icon(IconName::RotateCw)
.icon_position(IconPosition::Start)
.icon_size(IconSize::Small)
.label_size(LabelSize::Small)
.on_click({
let thread = thread.clone();
move |_, window, cx| {
@ -3023,6 +3025,8 @@ impl AgentPanel {
let retry_button = Button::new("retry", "Retry")
.icon(IconName::RotateCw)
.icon_position(IconPosition::Start)
.icon_size(IconSize::Small)
.label_size(LabelSize::Small)
.on_click({
let thread = thread.clone();
move |_, window, cx| {
@ -3046,6 +3050,8 @@ impl AgentPanel {
let burn_mode_button = Button::new("enable_burn_retry", "Enable Burn Mode and Retry")
.icon(IconName::ZedBurnMode)
.icon_position(IconPosition::Start)
.icon_size(IconSize::Small)
.label_size(LabelSize::Small)
.on_click({
let thread = thread.clone();
move |_, window, cx| {