diff --git a/crates/workspace/src/dock.rs b/crates/workspace/src/dock.rs index bf6d65c03e..af52d4dc16 100644 --- a/crates/workspace/src/dock.rs +++ b/crates/workspace/src/dock.rs @@ -876,7 +876,7 @@ impl Render for PanelButtons { h_flex() .gap_1() .children(buttons) - .when(has_buttons, |this| { + .when(has_buttons && dock.position == DockPosition::Left, |this| { this.child(Divider::vertical().color(DividerColor::Border)) }) }