fix long handles

This commit is contained in:
Samuel Newman
2026-05-27 16:26:49 +03:00
parent 41c6454441
commit 08341994dd
+7 -2
View File
@@ -89,13 +89,18 @@ export function ChatInvite({
{/* By @handle */} {/* By @handle */}
<div <div
style={{ style={{
display: 'flex', display: 'block',
fontSize: 34, fontSize: 34,
fontWeight: 400, fontWeight: 400,
marginTop: 12, marginTop: 12,
lineHeight: 1.3, lineHeight: 1.3,
lineClamp: 1,
textOverflow: 'ellipsis',
overflow: 'hidden',
maxWidth: 800,
wordBreak: 'break-all',
}}> }}>
By @{preview.owner.handle} {'By @' + preview.owner.handle}
</div> </div>
</div> </div>
</div> </div>