From 755fd695f5271115a692d0beab872aa676011b7d Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 21 Oct 2024 10:45:54 -0400 Subject: [PATCH] editor: Move hunk controls to the right (#19515) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR moves the hunk controls over to the right so we can see how they feel over there. Git: Screenshot 2024-10-21 at 10 27 34 AM Live diffs: Screenshot 2024-10-21 at 10 27 28 AM Release Notes: - Moved hunk controls to the right of the header. --- crates/editor/src/hunk_diff.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/hunk_diff.rs b/crates/editor/src/hunk_diff.rs index c3a539b3d4c48..60931f338037c 100644 --- a/crates/editor/src/hunk_diff.rs +++ b/crates/editor/src/hunk_diff.rs @@ -418,7 +418,7 @@ impl Editor { h_flex() .px_6() .size_full() - .justify_between() + .justify_end() .child( h_flex() .gap_1()