Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add more left padding to title bar (#3768)
Marshall Bowers5307b75b2f81
diff --git a/crates/collab_ui2/src/collab_titlebar_item.rs b/crates/collab_ui2/src/collab_titlebar_item.rsindex 8e542e413e8..e4a6ff089a1 100644--- a/crates/collab_ui2/src/collab_titlebar_item.rs+++ b/crates/collab_ui2/src/collab_titlebar_item.rs@@ -74,14 +74,13 @@ impl Render for CollabTitlebarItem {// Set a non-scaling min-height here to ensure the titlebar is// always at least the height of the traffic lights..min_h(px(32.))- .pl_2().map(|this| {if matches!(cx.window_bounds(), WindowBounds::Fullscreen) {this.pl_2()} else {// Use pixels here instead of a rem-based size because the macOS traffic// lights are a static size, and don't scale with the rest of the UI.- this.pl(px(72.))+ this.pl(px(80.))}}).bg(cx.theme().colors().title_bar_background)