fix long zap comment text overflow #344

Merged
SamSamskies merged 1 commits from fix-long-zap-comment-text-overflow into main 2023-02-21 20:57:53 +00:00
2 changed files with 9 additions and 1 deletions

View File

@ -92,6 +92,10 @@
line-height: 17px;
}
.reactions-item .zap-comment {
width: 332px;
}
@media (max-width: 520px) {
.reactions-view .tab.disabled {
display: none;

View File

@ -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>