Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ui: Round hover styles for `ListItem`s with `outlined` set (#22120)
Marshall Bowersd11deff3c2c6
diff --git a/crates/ui/src/components/list/list_item.rs b/crates/ui/src/components/list/list_item.rsindex 908c873f9d7..a33916380f0 100644--- a/crates/ui/src/components/list/list_item.rs+++ b/crates/ui/src/components/list/list_item.rs@@ -202,6 +202,7 @@ impl RenderOnce for ListItem {.when(self.selectable, |this| {this.hover(|style| style.bg(cx.theme().colors().ghost_element_hover)).active(|style| style.bg(cx.theme().colors().ghost_element_active))+ .when(self.outlined, |this| this.rounded_md()).when(self.selected, |this| {this.bg(cx.theme().colors().ghost_element_selected)})