From 1c7563c241916bcba937e28351b74815b2571ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=80=E1=B4=8D=E1=B4=9B=E1=B4=8F=E1=B4=80=E1=B4=87?= =?UTF-8?q?=CA=80?= Date: Tue, 24 Feb 2026 10:57:44 +0800 Subject: [PATCH] git_ui: Make stash picker footers button wrap (#49814) Closes #48383 An alternative approach would be to use `min_w` instead of `w`, but that would result in inconsistent widths across the three tabs in the git picker, causing layout jumps when switching between them. It might be more appropriate to simply increase the width directly. |Before|After| |--|--| |CleanShot 2026-02-22 at 02 01 20@2x|CleanShot 2026-02-22 at 02 03
50@2x| Before you mark this PR as ready for review, make sure that you have: - [x] Added a solid test coverage and/or screenshots from doing manual testing - [x] Done a self-review taking into account security and performance aspects - [x] Aligned any UI changes with the [UI checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) Release Notes: - Fixed footer buttons clipped in stash picker when vim mode is enabled on macOS --------- Co-authored-by: Danilo Leal --- crates/git_ui/src/stash_picker.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/git_ui/src/stash_picker.rs b/crates/git_ui/src/stash_picker.rs index 1713de71c2db01f11b03a8c8e8e8eb498bb31b77..e736dd806a35703991e1fb51e27e3952e5692d99 100644 --- a/crates/git_ui/src/stash_picker.rs +++ b/crates/git_ui/src/stash_picker.rs @@ -527,6 +527,7 @@ impl PickerDelegate for StashListDelegate { .p_1p5() .gap_0p5() .justify_end() + .flex_wrap() .border_t_1() .border_color(cx.theme().colors().border_variant) .child(