From d59481c0a08c309e7891adb2ccd21a5a58119df0 Mon Sep 17 00:00:00 2001 From: Ren Amamiya Date: Mon, 16 Nov 2026 18:40:25 +0700 Subject: [PATCH] Size command palette rows with control text - Set command labels to the medium control text size. --- crates/core/src/command_palette.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/core/src/command_palette.rs b/crates/core/src/command_palette.rs index 105e6b8..200c86b 100644 --- a/crates/core/src/command_palette.rs +++ b/crates/core/src/command_palette.rs @@ -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)))