aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Avatar.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Avatar.js')
-rw-r--r--vnext/src/components/Avatar.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js
index e2023649..6ea0d5d5 100644
--- a/vnext/src/components/Avatar.js
+++ b/vnext/src/components/Avatar.js
@@ -6,9 +6,11 @@ import { UserType } from './Types';
import Icon from './Icon';
+import './Avatar.css';
+
const Avatar = React.memo(props => {
return (
- <div style={Object.assign({ display: 'flex', padding: '12px', width: '300px' }, props.style)}>
+ <div className="Avatar" style={props.style}>
<div className="msg-avatar">
{
props.user.uname ?