Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Adjust code actions menu spacing (#17378)
Danilo Leal09b728627912
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 57cd570ea3f..b9a8988d0ea 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -1488,7 +1488,8 @@ impl CodeActionsMenu {let selected = selected_item == item_ix;let colors = cx.theme().colors();div()- .px_2()+ .px_1()+ .rounded_md().text_color(colors.text).when(selected, |style| {style@@ -1541,8 +1542,7 @@ impl CodeActionsMenu {},).elevation_1(cx)- .px_2()- .py_1()+ .p_1().max_h(max_height).occlude().track_scroll(self.scroll_handle.clone())