diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 57cd570ea3f3f00f0f1a632563cd28663e4f1e54..b9a8988d0ea5f603d718584194d2a9c2d5fb33d8 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())