diff --git a/src/conversation/transcript.rs b/src/conversation/transcript.rs index d826cbe..1612760 100644 --- a/src/conversation/transcript.rs +++ b/src/conversation/transcript.rs @@ -810,12 +810,12 @@ impl Desktop { cx: &mut Context, ) -> Div { let gap = rems(0.5).to_pixels(window.rem_size()); - let padding = rems(0.75).to_pixels(window.rem_size()); + let padding = rems(1.).to_pixels(window.rem_size()); let count = suggestions.len() as f32; let label_width = ((width - gap * (count - 1.)) / count - padding).max(px(0.)); let can_send = self.can_send_suggested_reply(cx); - h_flex() - .w(width) + let buttons = h_flex() + .w_full() .gap(gap) .children(suggestions.iter().enumerate().map(|(index, suggestion)| { let label = SharedString::from(suggestion.label.trim().to_owned()); @@ -823,7 +823,6 @@ impl Desktop { control!( label.clone(), Button::new(("follow-up", index)) - .small() .compact() .tab_stop(true) .disabled(!can_send) @@ -846,7 +845,12 @@ impl Desktop { } })) ) - })) + })); + v_flex() + .w(width) + .gap_1() + .child(crate::ui::section_title("What's next?").text_color(transcript_muted(cx))) + .child(buttons) } fn can_send_suggested_reply(&self, cx: &App) -> bool {