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: Show missing right border on selected items (#44747)

Devzeth5805f62f1812
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs
index 527e5062ae4..cf588d6b044 100644
--- a/crates/git_ui/src/git_panel.rs
+++ b/crates/git_ui/src/git_panel.rs
@@ -4811,8 +4811,8 @@ impl GitPanel {
.id(id)
.h(self.list_item_height())
.w_full()
- .items_center()
.border_1()
+ .border_r_2()
.when(selected && self.focus_handle.is_focused(window), |el| {
el.border_color(cx.theme().colors().panel_focused_border)
})
@@ -4977,6 +4977,7 @@ impl GitPanel {
.w_full()
.items_center()
.border_1()
+ .border_r_2()
.when(selected && self.focus_handle.is_focused(window), |el| {
el.border_color(cx.theme().colors().panel_focused_border)
})