From 5334c085333bbfd49064066a0b288dcaf5ef4c80 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Tue, 18 Aug 2020 10:00:31 +1000 Subject: [PATCH] StatusBar: update for new design --- pkg/interface/src/views/components/Content.js | 4 +--- .../src/views/components/StatusBar.js | 21 +++++++++++-------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/pkg/interface/src/views/components/Content.js b/pkg/interface/src/views/components/Content.js index a19c432e5..8a871c10f 100644 --- a/pkg/interface/src/views/components/Content.js +++ b/pkg/interface/src/views/components/Content.js @@ -67,9 +67,7 @@ export const Content = (props) => { path="/~profile" render={ p => ( )} /> diff --git a/pkg/interface/src/views/components/StatusBar.js b/pkg/interface/src/views/components/StatusBar.js index 48ebc4ec4..a974c29ba 100644 --- a/pkg/interface/src/views/components/StatusBar.js +++ b/pkg/interface/src/views/components/StatusBar.js @@ -27,7 +27,7 @@ function StatusBar(props) { display={display} width="100%" gridTemplateRows="30px" - gridTemplateColumns="2fr 1fr" + gridTemplateColumns="3fr 1fr" py={2} px={3} > @@ -42,7 +42,7 @@ function StatusBar(props) { /> )} - props.api.local.setOmnibox()}> + props.api.local.setOmnibox()}> @@ -53,13 +53,9 @@ function StatusBar(props) { {metaKey}/ - - - - props.history.push('/~groups')} mr={2} badge={Object.keys(invites).length > 0}> + props.history.push('/~groups')} + badge={Object.keys(invites).length > 0}> Groups + + + + props.history.push('/~profile')}> {props.ship}