From 8a7bd5f47b69741a66b8929f5937175cee4bc544 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Thu, 17 Jul 2025 22:19:27 -0300 Subject: [PATCH] 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 --- crates/agent_ui/src/agent_panel.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs index 139e32f835602e5bb72b6610b9519fe37ab0633f..087eec5efb08de000f95be74226e120fde56654d 100644 --- a/crates/agent_ui/src/agent_panel.rs +++ b/crates/agent_ui/src/agent_panel.rs @@ -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| {