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

View File

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

View File

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

View File

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