From de1de257125b263ded6676735c6ae022a5bcfe96 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Thu, 25 Sep 2025 20:29:02 +0200 Subject: [PATCH] keymap_editor: Fix filter input element alignment (#38895) # Why I have spotted that Keymap Editor filter input (editor) is misaligned vertically. # How Switch the input wrapper to flex layout, use `items_center` to align editor vertically in center of the wrapper. Release Notes: - Fixed Keymap Editor filter input alignment # Test plan I have tested the change locally and compared the UI before and after, to make sure that change does not affect the size of the wrapper element. ### Before Screenshot 2025-09-25 at 18 18 59 ### After Screenshot 2025-09-25 at 18 07 18 --- crates/keymap_editor/src/keymap_editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/keymap_editor/src/keymap_editor.rs b/crates/keymap_editor/src/keymap_editor.rs index 8a1e494d09aec024c57fb8acf480e8aed7efff82..23854df2e42c888d81db7415fc15394f6529d29a 100644 --- a/crates/keymap_editor/src/keymap_editor.rs +++ b/crates/keymap_editor/src/keymap_editor.rs @@ -1569,7 +1569,7 @@ impl Render for KeymapEditor { h_flex() .gap_2() .child( - div() + h_flex() .key_context({ let mut context = KeyContext::new_with_defaults(); context.add("BufferSearchBar");