new notes btn positioning

This commit is contained in:
Martti Malmi
2023-12-04 23:04:07 +02:00
parent 9ade6a553f
commit 9af52bfefd
3 changed files with 15 additions and 4 deletions

View File

@ -91,7 +91,15 @@ export function TimelineRenderer(props: TimelineRendererProps) {
className="card latest-notes latest-notes-fixed pointer fade-in"
onClick={() => props.showLatest(true)}>
{props.latest.slice(0, 3).map(p => {
return <ProfileImage pubkey={p} showUsername={false} link={""} showFollowDistance={false} />;
return (
<ProfileImage
pubkey={p}
showProfileCard={false}
showUsername={false}
link={""}
showFollowDistance={false}
/>
);
})}
<FormattedMessage
defaultMessage="{n} new {n, plural, =1 {note} other {notes}}"