Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add left side padding

Nate Butler2ae39b70c8dc
diff --git a/crates/workspace2/src/toolbar.rs b/crates/workspace2/src/toolbar.rs
index c9bcc9346e8..ef8595ae094 100644
--- a/crates/workspace2/src/toolbar.rs
+++ b/crates/workspace2/src/toolbar.rs
@@ -111,6 +111,7 @@ impl Render for Toolbar {
.when(self.left_items().count() > 0, |this| {
this.child(
h_stack()
+ .p_1()
.flex_1()
.justify_start()
.children(self.left_items().map(|item| item.to_any())),