Fix code actions being too small
This commit is contained in:
parent
74bdb48359
commit
4c039d0f02
1 changed files with 3 additions and 1 deletions
|
@ -1076,8 +1076,10 @@ impl CodeActionsMenu {
|
||||||
let item_ix = range.start + ix;
|
let item_ix = range.start + ix;
|
||||||
let selected = selected_item == item_ix;
|
let selected = selected_item == item_ix;
|
||||||
let colors = cx.theme().colors();
|
let colors = cx.theme().colors();
|
||||||
div()
|
h_flex()
|
||||||
|
.flex_grow()
|
||||||
.px_2()
|
.px_2()
|
||||||
|
.min_w(px(120.))
|
||||||
.text_color(colors.text)
|
.text_color(colors.text)
|
||||||
.when(selected, |style| {
|
.when(selected, |style| {
|
||||||
style
|
style
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue