Contact: Improve styles (#5282)
This commit is contained in:
parent
de37fd6dda
commit
f32847eb14
@ -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 {
|
||||||
|
|||||||
@ -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)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user