Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
project panel: Fix alignment of entries overflowing the panel. (#10676)
Piotr Osiewicz06987edadb8a
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex 6e0aeb870cc..5a57fbfbcdf 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -1642,7 +1642,10 @@ impl ProjectPanel {.child(if let Some(icon) = &icon {h_flex().child(Icon::from_path(icon.to_string()).color(filename_text_color))} else {- h_flex().size(IconSize::default().rems()).invisible()+ h_flex()+ .size(IconSize::default().rems())+ .invisible()+ .flex_none()}).child(if let (Some(editor), true) = (Some(&self.filename_editor), show_editor) {