fix long handles
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user