remove className props from user-avatar

This commit is contained in:
Ramón Souza 2021-10-29 11:25:12 +00:00
parent d4878685b0
commit 4cb441972e
4 changed files with 0 additions and 12 deletions

View File

@ -138,7 +138,6 @@ class TimeWindowChatItem extends PureComponent {
<div className={styles.wrapper}>
<div className={styles.avatarWrapper}>
<UserAvatar
className={styles.avatar}
color={color}
moderator={isModerator}
avatar={avatar}
@ -217,7 +216,6 @@ class TimeWindowChatItem extends PureComponent {
<div className={styles.wrapper} ref={(ref) => { this.item = ref; }}>
<div className={styles.avatarWrapper}>
<UserAvatar
className={styles.avatar}
color={PollService.POLL_AVATAR_COLOR}
moderator={true}
>

View File

@ -57,10 +57,6 @@
}
}
.avatar {
font-size: .85rem;
}
.content {
flex: 1;
display: flex;

View File

@ -303,7 +303,6 @@ class ConnectionStatusComponent extends PureComponent {
<div className={styles.left}>
<div className={styles.avatar}>
<UserAvatar
className={cx({ [styles.initials]: conn.avatar.length === 0 })}
you={conn.you}
avatar={conn.avatar}
moderator={conn.moderator}

View File

@ -93,11 +93,6 @@
height: 100%;
justify-content: center;
align-items: center;
.initials {
min-width: 2.25rem;
height: 2.25rem;
}
}
.name {