diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index 720c5609854b8639644a9d31e9d7dace19311a70..fce72230dad943f866e07e036ca4b39fa81d6a25 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -8892,14 +8892,16 @@ fn diff_hunk_controls( .h(line_height) .mr_1() .gap_1() - .px_1() + .px_0p5() .pb_1() + .border_x_1() .border_b_1() .border_color(cx.theme().colors().border_variant) .rounded_b_lg() .bg(cx.theme().colors().editor_background) .gap_1() .occlude() + .shadow_md() .child(if status.has_secondary_hunk() { Button::new(("stage", row as u64), "Stage") .alpha(if status.is_pending() { 0.66 } else { 1.0 }) @@ -8956,7 +8958,7 @@ fn diff_hunk_controls( }) }) .child( - Button::new("discard", "Restore") + Button::new("restore", "Restore") .tooltip({ let focus_handle = editor.focus_handle(cx); move |window, cx| {