From b2afa7332149a5c8d8999e75df2988b26c7b0b9b Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Wed, 17 Jan 2024 15:45:17 -0500 Subject: [PATCH] Decrease the size of timestamps in the assistant conversation editor (#4101) This PR decreases the size of the timestamps in the assistant's conversation editor. Ideally we'd want to align the baseline of the timestamp text with the text in the sender button. I spent a while trying to do this, but it seems like it may be pretty tricky. Release Notes: - Decreased the size of timestamps in the assistant panel conversation editor. --- crates/assistant/src/assistant_panel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rs index 5a8376554e..241b9af923 100644 --- a/crates/assistant/src/assistant_panel.rs +++ b/crates/assistant/src/assistant_panel.rs @@ -2311,8 +2311,7 @@ impl ConversationEditor { } }); - div() - .h_flex() + h_flex() .id(("message_header", message_id.0)) .h_11() .relative() @@ -2328,6 +2327,7 @@ impl ConversationEditor { .add_suffix(true) .to_string(), ) + .size(LabelSize::XSmall) .color(Color::Muted), ) .children(