Adjust code actions menu spacing (#17378)
A slight design touch up on this component. | Before | After | |--------|--------| | <img width="252" alt="Screenshot 2024-09-04 at 7 35 47 PM" src="https://github.com/user-attachments/assets/a40c1c63-cb6c-4e82-b841-1be98e7528a0"> | <img width="252" alt="Screenshot 2024-09-04 at 7 36 53 PM" src="https://github.com/user-attachments/assets/4656ee85-b1fc-449d-93d2-eebcce8a38d8"> | --- Release Notes: - N/A
This commit is contained in:
parent
965b23fffe
commit
09b7286279
1 changed files with 3 additions and 3 deletions
|
@ -1488,7 +1488,8 @@ impl CodeActionsMenu {
|
||||||
let selected = selected_item == item_ix;
|
let selected = selected_item == item_ix;
|
||||||
let colors = cx.theme().colors();
|
let colors = cx.theme().colors();
|
||||||
div()
|
div()
|
||||||
.px_2()
|
.px_1()
|
||||||
|
.rounded_md()
|
||||||
.text_color(colors.text)
|
.text_color(colors.text)
|
||||||
.when(selected, |style| {
|
.when(selected, |style| {
|
||||||
style
|
style
|
||||||
|
@ -1541,8 +1542,7 @@ impl CodeActionsMenu {
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.elevation_1(cx)
|
.elevation_1(cx)
|
||||||
.px_2()
|
.p_1()
|
||||||
.py_1()
|
|
||||||
.max_h(max_height)
|
.max_h(max_height)
|
||||||
.occlude()
|
.occlude()
|
||||||
.track_scroll(self.scroll_handle.clone())
|
.track_scroll(self.scroll_handle.clone())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue