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.

git_ui: Reduce spacing between action icon and label (#38445)

Bartosz Kaszubowskic58763a52672
diff --git a/crates/git_ui/src/git_ui.rs b/crates/git_ui/src/git_ui.rs
index cede717d53b..da2e2ca032a 100644
--- a/crates/git_ui/src/git_ui.rs
+++ b/crates/git_ui/src/git_ui.rs
@@ -645,7 +645,6 @@ mod remote_button {
this.child(
h_flex()
.ml_neg_0p5()
- .mr_1()
.when(behind_count > 0, |this| {
this.child(Icon::new(IconName::ArrowDown).size(IconSize::XSmall))
.child(count(behind_count))
@@ -660,7 +659,6 @@ mod remote_button {
this.child(
h_flex()
.ml_neg_0p5()
- .mr_1()
.child(Icon::new(left_icon).size(IconSize::XSmall)),
)
})