From 76b1a3ca0ef166d0fad52e0b2d55fab9b32066e3 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Fri, 5 Jan 2024 16:17:06 -0500 Subject: [PATCH] Refine copilot UI --- crates/copilot_ui/src/sign_in.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/copilot_ui/src/sign_in.rs b/crates/copilot_ui/src/sign_in.rs index d3e52c3e19db9c491fcf6091a4db67d6753d270b..029ad149b8d07df22ea7b4bcf97738e2b4631f84 100644 --- a/crates/copilot_ui/src/sign_in.rs +++ b/crates/copilot_ui/src/sign_in.rs @@ -86,10 +86,11 @@ impl CopilotCodeVerification { .flex_1() .gap_2() .items_center() - .w_full() - .child(Label::new( - "Enable Copilot by connecting your existing license", - )) + .child(Headline::new("Use Github Copilot in Zed.").size(HeadlineSize::Large)) + .child( + Label::new("Using Copilot requres an active subscription on Github.") + .color(Color::Muted), + ) .child(Self::render_device_code(data, cx)) .child( Label::new("Paste this code into GitHub after clicking the button below.") @@ -156,11 +157,10 @@ impl Render for CopilotCodeVerification { v_stack() .id("copilot code verification") .elevation_3(cx) - .size_full() + .w_96() .items_center() .p_4() - .gap_4() - .child(Headline::new("Connect Copilot to Zed").size(HeadlineSize::Large)) + .gap_2() .child( svg() .w_32()