Size command palette rows with control text

- Set command labels to the medium control text size.
This commit is contained in:
2026-11-16 18:40:25 +07:00
parent eaea1a4943
commit d59481c0a0
+2
View File
@@ -368,6 +368,8 @@ impl Render for CommandPaletteState {
.px_2()
.py_1()
.min_h(metrics.control_height)
.text_size(metrics.text_size)
.line_height(relative(1.0))
.rounded(radius.sm)
.when(highlighted, |row| row.bg(colors.muted))
.when(!highlighted, |row| row.hover(|row| row.bg(colors.muted)))