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_graph: Fix commit message overflowing into changed files section (#61177)

Lukas Wirth6d66d5749dee
diff --git a/crates/git_ui/src/git_graph.rs b/crates/git_ui/src/git_graph.rs
index f0e4151d8e0..cd3c751bcfe 100644
--- a/crates/git_ui/src/git_graph.rs
+++ b/crates/git_ui/src/git_graph.rs
@@ -3733,12 +3733,12 @@ impl GitGraph {
.child(
div()
.relative()
- .size_full()
+ .w_full()
.child(
div()
.id("commit-message")
.text_sm()
- .size_full()
+ .w_full()
.max_h(line_height * 12.)
.overflow_y_scroll()
.track_scroll(scroll_handle)