Contact: Improve styles (#5282)

This commit is contained in:
Alexander Zinchuk 2024-12-06 19:44:17 +04:00
parent de37fd6dda
commit f32847eb14
2 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,6 @@
.phone { .phone {
color: var(--color-text); color: var(--color-text);
line-height: 1rem;
} }
.name, .name,
@ -38,7 +37,7 @@
height: 0.0625rem; height: 0.0625rem;
margin: 0 0.5rem; margin: 0 0.5rem;
background: var(--accent-color); background: var(--accent-color);
filter: opacity(0.4); filter: opacity(0.35);
} }
.buttons { .buttons {

View File

@ -67,7 +67,7 @@ const Contact: FC<OwnProps & StateProps> = ({
className={styles.root} className={styles.root}
> >
<div className={styles.infoContainer} onClick={handleClick}> <div className={styles.infoContainer} onClick={handleClick}>
<Avatar size="large" peer={user} text={getContactName(contact)} /> <Avatar size="medium" peer={user} text={getContactName(contact)} />
<div className={styles.info}> <div className={styles.info}>
<div className={styles.name}> <div className={styles.name}>
{user ? getUserFullName(user) : getContactName(contact)} {user ? getUserFullName(user) : getContactName(contact)}