diff --git a/crates/workspace2/src/toolbar.rs b/crates/workspace2/src/toolbar.rs index ef8595ae0941478e3a7dc0ccf2177212d1712284..df19ca44516384483e8044623e1723ea2338cf8b 100644 --- a/crates/workspace2/src/toolbar.rs +++ b/crates/workspace2/src/toolbar.rs @@ -117,11 +117,6 @@ impl Render for Toolbar { .children(self.left_items().map(|item| item.to_any())), ) }) - // Render an empty div that takes up the space between - // the left and right sides. This won't cause items to - // be centered like justify_center() will if left or - // right is missing. - .child(div().flex_1()) .when(self.right_items().count() > 0, |this| { this.child( h_stack()