Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

keymap_editor: Fix create keybinding button clipping out of editor (#54708)

Felix Schwämmlededb2af992a8
diff --git a/crates/keymap_editor/src/keymap_editor.rs b/crates/keymap_editor/src/keymap_editor.rs
index 6a6856e4e68..54c54ab1fca 100644
--- a/crates/keymap_editor/src/keymap_editor.rs
+++ b/crates/keymap_editor/src/keymap_editor.rs
@@ -2019,7 +2019,8 @@ impl Render for KeymapEditor {
context.add("BufferSearchBar");
context
})
- .size_full()
+ .flex_1()
+ .min_w_0()
.h_8()
.pl_2()
.pr_1()
@@ -2032,7 +2033,7 @@ impl Render for KeymapEditor {
.child(
h_flex()
.gap_1()
- .min_w_96()
+ .flex_none()
.items_center()
.child(
IconButton::new(