Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

git_ui: Fix commit modal buttons hidden at small `ui_font_size` (#56366)

Kunall Banerjee1a0b54616bc4
diff --git a/crates/git_ui/src/commit_modal.rs b/crates/git_ui/src/commit_modal.rs
index 4631d781bf0..c4d791fc7ef 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()