From 798c9572dd54f762b2cdbc548341b13f878982a0 Mon Sep 17 00:00:00 2001 From: apanizo Date: Wed, 7 Nov 2018 15:35:31 +0100 Subject: [PATCH] Implemented improvements on UserDetails component --- .../component/ProviderDetails/UserDetails.jsx | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/src/components/Header/component/ProviderDetails/UserDetails.jsx b/src/components/Header/component/ProviderDetails/UserDetails.jsx index b9915ce5..355cedbd 100644 --- a/src/components/Header/component/ProviderDetails/UserDetails.jsx +++ b/src/components/Header/component/ProviderDetails/UserDetails.jsx @@ -7,7 +7,6 @@ import Paragraph from '~/components/layout/Paragraph' import Button from '~/components/layout/Button' import Identicon from '~/components/Identicon' import Dot from '@material-ui/icons/FiberManualRecord' -import Bold from '~/components/layout/Bold' import Hairline from '~/components/layout/Hairline' import Img from '~/components/layout/Img' import Row from '~/components/layout/Row' @@ -50,10 +49,11 @@ const styles = () => ({ borderRadius: '3px', backgroundColor: background, margin: '0 auto', - padding: sm, + padding: '9px', + lineHeight: 1, }, details: { - padding: `0 ${lg}`, + padding: `0 ${md}`, height: '20px', alignItems: 'center', }, @@ -61,6 +61,11 @@ const styles = () => ({ flexGrow: 1, textAlign: 'center', letterSpacing: '-0.5px', + fontSize: '12px', + }, + labels: { + fontSize: '12px', + letterSpacing: '0.5px', }, open: { paddingLeft: sm, @@ -121,33 +126,29 @@ const UserDetails = ({ - Status + Status - - - {status} - + + {status} - Client + Client - Metamask client - - - {upperFirst(provider)} - + Metamask client + + {upperFirst(provider)} - Network + Network - Network - - {upperFirst(network)} + Network + + {upperFirst(network)} @@ -159,7 +160,7 @@ const UserDetails = ({ color="primary" fullWidth > - DISCONNECT + DISCONNECT