Skip to content

Commit

Permalink
spacing layout mobile connection
Browse files Browse the repository at this point in the history
  • Loading branch information
brucedonovan committed Mar 2, 2022
1 parent 1178919 commit 6590655
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Connect = ({ setSettingsOpen, setConnectOpen }: any) => {
background="lightBackground"
round="small"
>
<Box justify="between" align="center" direction="row" background="gradient" pad="medium" round={{corner:'top', size: "small"}}>
<Box justify="between" align="center" direction="row" background="gradient" pad="medium" round={{corner:'top', size: "small"}} >
{account && CONNECTORS ? (
<BackButton
action={() => {
Expand All @@ -60,7 +60,7 @@ const Connect = ({ setSettingsOpen, setConnectOpen }: any) => {
/>
</Box>
)}
<Box gap="xsmall" pad='medium'>
<Box pad='medium' gap={mobile?"large":"small"} >
{[...CONNECTORS.keys()].map((name: string) => {
const { displayName, image } = CONNECTOR_INFO.get(name);
const currentConnector = CONNECTORS.get(name);
Expand Down
3 changes: 2 additions & 1 deletion src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ const Sidebar = ({ settingsOpen, setSettingsOpen, connectOpen, setConnectOpen }:
<Layer
modal={false}
responsive={true}
full={mobile}
position="top-right"
margin='small'
margin= {mobile? undefined: 'small'}
style={mobile ? { minWidth: undefined, maxWidth: undefined } : { minWidth: '400px', maxWidth: '400px' }}
onClickOutside={() => setConnectOpen(false)}
background='lightBackground'
Expand Down

0 comments on commit 6590655

Please sign in to comment.