make profile image which where 48pixels big 36 noew, as no more border

pull/776/head
Audric Ackermann 5 years ago
parent abf7c46ee4
commit 5f0738c4b8
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -38,7 +38,7 @@ export class ContactListItem extends React.Component<Props> {
name={name} name={name}
phoneNumber={phoneNumber} phoneNumber={phoneNumber}
profileName={profileName} profileName={profileName}
size={48} size={36}
/> />
); );
} }

@ -85,7 +85,7 @@ export class ConversationListItem extends React.PureComponent<Props> {
if (!(isPendingFriendRequest && !hasSentFriendRequest)) { if (!(isPendingFriendRequest && !hasSentFriendRequest)) {
borderColor = isOnline ? Colors.ONLINE : Colors.OFFLINE; borderColor = isOnline ? Colors.ONLINE : Colors.OFFLINE;
} }
const iconSize = isPendingFriendRequest && !hasSentFriendRequest ? 28 : 48; const iconSize = isPendingFriendRequest && !hasSentFriendRequest ? 28 : 36;
return ( return (
<div className="module-conversation-list-item__avatar-container"> <div className="module-conversation-list-item__avatar-container">

@ -113,7 +113,7 @@ export class MessageSearchResult extends React.PureComponent<Props> {
noteToSelf={isNoteToSelf} noteToSelf={isNoteToSelf}
phoneNumber={from.phoneNumber} phoneNumber={from.phoneNumber}
profileName={from.profileName} profileName={from.profileName}
size={48} size={36}
/> />
); );
} }

@ -47,7 +47,7 @@ export class EmbeddedContact extends React.Component<Props> {
role="button" role="button"
onClick={onClick} onClick={onClick}
> >
{renderAvatar({ contact, i18n, size: 48, direction })} {renderAvatar({ contact, i18n, size: 36, direction })}
<div className="module-embedded-contact__text-container"> <div className="module-embedded-contact__text-container">
{renderName({ contact, isIncoming, module })} {renderName({ contact, isIncoming, module })}
{renderContactShorthand({ contact, isIncoming, module })} {renderContactShorthand({ contact, isIncoming, module })}

@ -48,7 +48,7 @@ export class MessageDetail extends React.Component<Props> {
name={name} name={name}
phoneNumber={phoneNumber} phoneNumber={phoneNumber}
profileName={profileName} profileName={profileName}
size={48} size={36}
/> />
); );
} }

Loading…
Cancel
Save