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 long git author names/emails overflowing blame tooltip (#10605)

Thorsten Ball4d8cba2addd0
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index f7594ec4a67..f327787263d 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -3101,7 +3101,9 @@ impl Render for BlameEntryTooltip {
.gap_4()
.child(
h_flex()
- .gap_2()
+ .gap_x_2()
+ .overflow_x_hidden()
+ .flex_wrap()
.child(author)
.when_some(author_email, |this, author_email| {
this.child(