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.

Fix overflow in create branch label (#26591)

Conrad Irwin81af2c0bed1a
diff --git a/crates/git_ui/src/branch_picker.rs b/crates/git_ui/src/branch_picker.rs
index 07a6ea4db69..6299103554e 100644
--- a/crates/git_ui/src/branch_picker.rs
+++ b/crates/git_ui/src/branch_picker.rs
@@ -434,6 +434,7 @@ impl PickerDelegate for BranchListDelegate {
"Create branch \"{}\"…",
entry.branch.name
))
+ .single_line()
.into_any_element()
} else {
HighlightedLabel::new(