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.

editor: Fix multi-buffer headers spilling over at narrow widths (#35800)

Piotr Osiewiczdd840e4b2776
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index 17a43f9640b..034fff970d5 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -3682,6 +3682,7 @@ impl EditorElement {
.id("path header block")
.size_full()
.justify_between()
+ .overflow_hidden()
.child(
h_flex()
.gap_2()