Просмотр исходного кода

fix: set an avatar icon size relative to the container

master
Bettenbuk Zoltan 6 лет назад
Родитель
Сommit
8eb93086bd
1 измененных файлов: 3 добавлений и 1 удалений
  1. 3
    1
      react/features/base/avatar/components/web/StatelessAvatar.js

+ 3
- 1
react/features/base/avatar/components/web/StatelessAvatar.js Просмотреть файл

43
                     className = { this._getAvatarClassName() }
43
                     className = { this._getAvatarClassName() }
44
                     id = { this.props.id }
44
                     id = { this.props.id }
45
                     style = { this._getAvatarStyle(this.props.color) }>
45
                     style = { this._getAvatarStyle(this.props.color) }>
46
-                    <Icon src = { url } />
46
+                    <Icon
47
+                        size = '50%'
48
+                        src = { url } />
47
                 </div>
49
                 </div>
48
             );
50
             );
49
         }
51
         }

Загрузка…
Отмена
Сохранить