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

Piotr Osiewicz created

Release Notes:

- N/A

Change summary

crates/editor/src/element.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

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()