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 last commit UI glitching on panel resize (#39059)

Bartosz Kaszubowski720971e47b30
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs
index e08dc1d1967..d97f6282331 100644
--- a/crates/git_ui/src/git_panel.rs
+++ b/crates/git_ui/src/git_panel.rs
@@ -3527,7 +3527,7 @@ impl GitPanel {
div()
.flex_grow()
.overflow_hidden()
- .max_w(relative(0.85))
+ .line_clamp(1)
.child(
Label::new(commit.subject.clone())
.size(LabelSize::Small)