💄(fix) truncate long names with ellipsis in reaction overlay

Long participant names under emoji reactions overflow without truncation.
This commit is contained in:
Cyril
2026-03-05 10:36:00 +01:00
committed by aleb_the_flash
parent e56c0f997e
commit 6dfafb7f67
2 changed files with 6 additions and 0 deletions

View File

@@ -102,6 +102,11 @@ export function FloatingReaction({
paddingTop: '0.15rem',
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)',
lineHeight: '16px',
maxWidth: '12rem',
display: 'inline-block',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
})}
>
{name}