aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/components/UserInfo.css3
-rw-r--r--vnext/src/components/UserInfo.js12
2 files changed, 11 insertions, 4 deletions
diff --git a/vnext/src/components/UserInfo.css b/vnext/src/components/UserInfo.css
new file mode 100644
index 00000000..27eba7e5
--- /dev/null
+++ b/vnext/src/components/UserInfo.css
@@ -0,0 +1,3 @@
+.userinfo {
+ padding: 40px;
+} \ No newline at end of file
diff --git a/vnext/src/components/UserInfo.js b/vnext/src/components/UserInfo.js
index 7b4ae2ee..c4247f92 100644
--- a/vnext/src/components/UserInfo.js
+++ b/vnext/src/components/UserInfo.js
@@ -10,6 +10,8 @@ import Avatar from './Avatar';
import Icon from './Icon';
import SearchBox from './SearchBox';
+import './UserInfo.css';
+
export default class UserInfo extends React.Component {
constructor(props) {
super(props);
@@ -28,10 +30,12 @@ export default class UserInfo extends React.Component {
const { user } = this.state;
return (
<>
- <Avatar user={user}>
- <div className="msg-ts">Was online recently</div>
- </Avatar>
- <div>
+ <div className="userinfo">
+ <Avatar user={user}>
+ <div className="msg-ts">Was online recently</div>
+ </Avatar>
+ </div>
+ <div className="l">
{
user.uid > 0 &&
<>