From 6ca6f8ea3aa870aa5e97c8f68c895787fa729ee4 Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Sat, 26 Oct 2019 16:07:13 -0400 Subject: [PATCH] some presentation cleanup --- public/index.html | 4 ++-- src/components/base/Button.jsx | 5 ++++- src/components/projects/queries.js | 2 +- src/components/projects/styles/ListProjects.js | 10 ++++++++-- src/index.js | 2 +- 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index 903b54b..54c99f7 100644 --- a/public/index.html +++ b/public/index.html @@ -45,12 +45,12 @@ } } - Status.im Liquid Funding + Liquid Funding
-
+
diff --git a/src/components/base/Button.jsx b/src/components/base/Button.jsx index 5dbb972..fe95e16 100644 --- a/src/components/base/Button.jsx +++ b/src/components/base/Button.jsx @@ -29,7 +29,10 @@ const useStyles = makeStyles(theme => ({ justifyContent: 'space-evenly', alignItems: 'center', width: '100%', - fontSize: '1.4vw' + fontSize: '5.4vw', + [theme.breakpoints.up('md')]: { + fontSize: '1.4vw' + } }, progress: { color: theme.palette.primary[500], diff --git a/src/components/projects/queries.js b/src/components/projects/queries.js index 8f3a0e6..a2caaee 100644 --- a/src/components/projects/queries.js +++ b/src/components/projects/queries.js @@ -105,7 +105,7 @@ export const getProjects = gql` ${pledgesInfosFields} query Projects($type: String! = "PROJECT", $limit: Int, $offset: Int){ - profiles(where: {type: $type, projectInfo_not: null}, first: $limit, skip: $offset) { + profiles(where: {type: $type, projectInfo_not: null}, first: $limit, skip: $offset, orderBy: profileId, orderDirection: desc) { id addr canceled diff --git a/src/components/projects/styles/ListProjects.js b/src/components/projects/styles/ListProjects.js index ee102c4..8fd80dd 100644 --- a/src/components/projects/styles/ListProjects.js +++ b/src/components/projects/styles/ListProjects.js @@ -148,10 +148,16 @@ const useStyles = makeStyles(theme => ({ gridColumn: '40 / 44' }, previousButton: { - gridColumn: '3 / 9' + gridColumn: '1 / 20', + [theme.breakpoints.up('md')]: { + gridColumn: '3 / 9' + } }, nextButton: { - gridColumn: '42 / 48' + gridColumn: '35 / 48', + [theme.breakpoints.up('md')]: { + gridColumn: '42 / 48' + } }, readMore: { gridColumn: '44 / 48', diff --git a/src/index.js b/src/index.js index cbd4840..17eb5fa 100644 --- a/src/index.js +++ b/src/index.js @@ -41,6 +41,6 @@ createRoot(document.getElementById('app')).render( ).then(() => { - document.getElementById('preload').remove() + document.getElementById('loading').remove() }); serviceWorker.register()