From 8ab36ea9214fc0cd67d1f86248d74d7f2620660d Mon Sep 17 00:00:00 2001 From: Kunall Banerjee Date: Tue, 26 May 2026 09:42:51 -0400 Subject: [PATCH] git_ui: Fix commit modal buttons hidden at small `ui_font_size` (#56366) Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Closes #55939. Release Notes: - Fixed commit modal buttons being hidden for `ui_font_size` values --- crates/git_ui/src/commit_modal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/git_ui/src/commit_modal.rs b/crates/git_ui/src/commit_modal.rs index 4631d781bf..c4d791fc7e 100644 --- a/crates/git_ui/src/commit_modal.rs +++ b/crates/git_ui/src/commit_modal.rs @@ -622,7 +622,7 @@ impl Render for CommitModal { }), ) .w(width) - .h_112() + .min_h_112() .p(container_padding) .elevation_3(cx) .overflow_hidden()