From fcde30149484cf6922d910e67d073d6a4886fcbd Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 20 Jan 2019 11:33:11 +0300 Subject: UserInfo styling --- vnext/src/components/UserInfo.css | 1 + vnext/src/components/UserInfo.js | 44 +++++++++++++-------------------------- 2 files changed, 16 insertions(+), 29 deletions(-) (limited to 'vnext/src/components') diff --git a/vnext/src/components/UserInfo.css b/vnext/src/components/UserInfo.css index e4f58693..e57b4585 100644 --- a/vnext/src/components/UserInfo.css +++ b/vnext/src/components/UserInfo.css @@ -1,3 +1,4 @@ .userinfo { padding: 40px; + background-color: #fdfdfe; } diff --git a/vnext/src/components/UserInfo.js b/vnext/src/components/UserInfo.js index c962add9..3c4ffab3 100644 --- a/vnext/src/components/UserInfo.js +++ b/vnext/src/components/UserInfo.js @@ -40,38 +40,24 @@ export default class UserInfo extends React.Component { { user.uid > 0 && <> - -
- -
+ { + user.read && + I read: {user.read.length} + } + My readers: {user.readers ? user.readers.length : 0} + { + user.statsMyBL && + My blacklist: {user.statsMyBL} + } } -- cgit v1.2.3