BlueGit

ict rusty-teams

fix(chat): reactions under a big emoji sit on the emoji's side

- Own big emojis: reaction pills and time line up right under the emoji instead of spreading across the row

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

metis Daniel Däschle · pushed by metis

Authored 2026-11-11 · 2 weeks ago

Hash
46ff8197cb66ec1f561dd8c46eca87fd121bca4b
Parent
946479b2
1 file changed +10 −11
crates/app/src/views/message_row.rs +10 −11
@@ -349,21 +349,20 @@ fn bubble(
349 349 }));
350 350 content = content.children(cards);
351 351 if has_reactions {
352 let pills = reaction_pills(
353 &row.reactions,
354 index,
355 own,
356 directory,
357 extras.react.clone(),
358 extras.controls.as_ref(),
359 );
352 360 content = content.child(
353 361 h_flex()
354 362 .gap(px(8.))
355 363 .items_end()
356 .child(
357 reaction_pills(
358 &row.reactions,
359 index,
360 own,
361 directory,
362 extras.react.clone(),
363 extras.controls.as_ref(),
364 )
365 .flex_auto(),
366 )
364 .when(jumbo.is_some() && own, |line| line.justify_end())
365 .child(if jumbo.is_some() { pills } else { pills.flex_auto() })
367 366 .child(
368 367 h_flex()
369 368 .flex_none()
@@ -349,21 +349,20 @@ fn bubble(
349 }));
349 }));
350 content = content.children(cards);
350 content = content.children(cards);
351 if has_reactions {
351 if has_reactions {
352 let pills = reaction_pills(
353 &row.reactions,
354 index,
355 own,
356 directory,
357 extras.react.clone(),
358 extras.controls.as_ref(),
359 );
352 content = content.child(
360 content = content.child(
353 h_flex()
361 h_flex()
354 .gap(px(8.))
362 .gap(px(8.))
355 .items_end()
363 .items_end()
356 .child(
364 .when(jumbo.is_some() && own, |line| line.justify_end())
357 reaction_pills(
365 .child(if jumbo.is_some() { pills } else { pills.flex_auto() })
358 &row.reactions,
359 index,
360 own,
361 directory,
362 extras.react.clone(),
363 extras.controls.as_ref(),
364 )
365 .flex_auto(),
366 )
367 .child(
366 .child(
368 h_flex()
367 h_flex()
369 .flex_none()
368 .flex_none()