diff --git a/crates/sidebar/src/sidebar.rs b/crates/sidebar/src/sidebar.rs index 1e64a5e89a38108d0715a9a181d27b34c68d574f..7ee487f5d491670c0b9ba34229a96a1c21718979 100644 --- a/crates/sidebar/src/sidebar.rs +++ b/crates/sidebar/src/sidebar.rs @@ -1092,10 +1092,11 @@ impl Render for Sidebar { .mt_px() .pb_px() .pr_1() - .when(cfg!(target_os = "macos"), |this| { - this.pl(px(TRAFFIC_LIGHT_PADDING)) - }) - .when(cfg!(not(target_os = "macos")), |this| this.pl_2()) + .when_else( + cfg!(target_os = "macos") && !window.is_fullscreen(), + |this| this.pl(px(TRAFFIC_LIGHT_PADDING)), + |this| this.pl_2(), + ) .justify_between() .border_b_1() .border_color(cx.theme().colors().border)