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.

breadcrumbs: Update multibuffer to match singleton (#28267)

5briand3abc6172809
diff --git a/crates/breadcrumbs/src/breadcrumbs.rs b/crates/breadcrumbs/src/breadcrumbs.rs
index 78a4d858ccc..57cb2a4df85 100644
--- a/crates/breadcrumbs/src/breadcrumbs.rs
+++ b/crates/breadcrumbs/src/breadcrumbs.rs
@@ -131,8 +131,9 @@ impl Render for Breadcrumbs {
}),
),
None => element
- // Match the height of the `ButtonLike` in the other arm.
+ // Match the height and padding of the `ButtonLike` in the other arm.
.h(rems_from_px(22.))
+ .pl_1()
.child(breadcrumbs_stack),
}
}