fix long zap comment text overflow (#344)
This commit is contained in:
parent
88dc0647d7
commit
e0dea32d6f
@ -92,6 +92,10 @@
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
.reactions-item .zap-comment {
|
||||
width: 332px;
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.reactions-view .tab.disabled {
|
||||
display: none;
|
||||
|
@ -113,7 +113,11 @@ const Reactions = ({ show, setShow, positive, negative, reposts, zaps }: Reactio
|
||||
<ProfileImage
|
||||
autoWidth={false}
|
||||
pubkey={z.anonZap ? "" : z.zapper}
|
||||
subHeader={<>{z.content}</>}
|
||||
subHeader={
|
||||
<div className="f-ellipsis zap-comment" title={z.content}>
|
||||
{z.content}
|
||||
</div>
|
||||
}
|
||||
overrideUsername={z.anonZap ? formatMessage({ defaultMessage: "Anonymous" }) : undefined}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user