aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Avatar.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-07 12:47:16 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit85f38801a34825be69fec27ae523537fbc72f1d6 (patch)
treeb7f68862496a5f556d83ff3356b7122a773dccda /vnext/src/components/Avatar.js
parent675d8e64c891950189c477d30949ee9b4e160eb8 (diff)
mobile navigation
Diffstat (limited to 'vnext/src/components/Avatar.js')
-rw-r--r--vnext/src/components/Avatar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js
index dfa197c1..9cb03267 100644
--- a/vnext/src/components/Avatar.js
+++ b/vnext/src/components/Avatar.js
@@ -6,13 +6,13 @@ import { UserType } from './Types';
const Avatar = React.memo(props => {
return (
- <div style={{ display: 'flex' }}>
+ <div style={{ display: 'flex', padding: '12px' }}>
<div className="msg-avatar">
<Link to={{ pathname: props.link || `/${props.user.uname}/` }}>
<img src={props.user.avatar} alt={`${props.user.uname}`} />
</Link>
</div>
- <div style={{ display: 'flex', flexDirection: 'column' }}>
+ <div style={{ display: 'flex', flexDirection: 'column', justifyContent: 'center' }}>
<span>
<Link to={{ pathname: `/${props.user.uname}/` }}>
<span>{props.user.uname}</span>