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.

Fix padding for `end_hover_slot` on `ListItem`s (#15598)

Antonio Scandurra1246010e44ba
diff --git a/crates/ui/src/components/list/list_item.rs b/crates/ui/src/components/list/list_item.rs
index 11ae1808f99..6b38b7f963f 100644
--- a/crates/ui/src/components/list/list_item.rs
+++ b/crates/ui/src/components/list/list_item.rs
@@ -260,7 +260,7 @@ impl RenderOnce for ListItem {
h_flex()
.h_full()
.absolute()
- .right_2()
+ .right_1p5()
.top_0()
.visible_on_hover("list_item")
.child(end_hover_slot),