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 text wrapping issues with `overflow_hidden`

Marshall Bowersda34dd49bbb6
diff --git a/crates/collab_ui2/src/notification_panel.rs b/crates/collab_ui2/src/notification_panel.rs
index f3df2fc1d39..20951b34dbc 100644
--- a/crates/collab_ui2/src/notification_panel.rs
+++ b/crates/collab_ui2/src/notification_panel.rs
@@ -254,6 +254,7 @@ impl NotificationPanel {
v_stack()
.gap_1()
.size_full()
+ .overflow_hidden()
.child(Label::new(text.clone()))
.child(
h_stack()