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.

Tweak multibuffer header padding (#18011)

Danilo Leala7977aa64dc8
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index 7e2b3cc63f7..47107b97546 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -2079,13 +2079,13 @@ impl EditorElement {
.id(("path excerpt header", EntityId::from(block_id)))
.w_full()
.px(header_padding)
+ .pt(header_padding)
.child(
h_flex()
.flex_basis(Length::Definite(DefiniteLength::Fraction(0.667)))
.id("path header block")
.h(2. * cx.line_height())
- .pl(gpui::px(12.))
- .pr(gpui::px(8.))
+ .px(gpui::px(12.))
.rounded_md()
.shadow_md()
.border_1()