From 44433cdb1210baed83b74f877191bdc1f972703f Mon Sep 17 00:00:00 2001 From: mihaisc Date: Wed, 23 Sep 2020 11:57:05 +0300 Subject: [PATCH 1/2] fix pagination effect --- src/components/molecules/Pagination.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/molecules/Pagination.tsx b/src/components/molecules/Pagination.tsx index 0743f0757..067879532 100644 --- a/src/components/molecules/Pagination.tsx +++ b/src/components/molecules/Pagination.tsx @@ -22,7 +22,7 @@ export default function Pagination({ } useEffect(() => { - if (!totalPages || totalPages < 2) return null + if (!totalPages || totalPages < 2) return const mq = window.matchMedia('(min-width: 600px)') viewportChange(mq) From 4fb14b7b70f714ad8d0ddc13869ed661a837fb18 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Wed, 23 Sep 2020 12:04:17 +0300 Subject: [PATCH 2/2] remove search price filters --- src/components/molecules/Wallet/Details.module.css | 4 ++-- src/components/templates/Search/index.module.css | 6 +++--- src/components/templates/Search/index.tsx | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/molecules/Wallet/Details.module.css b/src/components/molecules/Wallet/Details.module.css index af4ea4a14..bd413da08 100644 --- a/src/components/molecules/Wallet/Details.module.css +++ b/src/components/molecules/Wallet/Details.module.css @@ -2,8 +2,8 @@ padding: calc(var(--spacer) / 4); } -.details > section[class*="feedback"] { - margin-top: calc(var(--spacer) / 2) +.details > section[class*='feedback'] { + margin-top: calc(var(--spacer) / 2); } .balance { diff --git a/src/components/templates/Search/index.module.css b/src/components/templates/Search/index.module.css index 4c97caa50..7c2d20f16 100644 --- a/src/components/templates/Search/index.module.css +++ b/src/components/templates/Search/index.module.css @@ -5,10 +5,10 @@ @media (min-width: 55rem) { .grid { grid-column-gap: calc(var(--spacer) * 3); - grid-template-columns: minmax(0, 3fr) 1fr; + /* grid-template-columns: minmax(0, 3fr) 1fr; */ grid-template-areas: - 'search side' - 'results side'; + 'search' + 'results'; } .search { diff --git a/src/components/templates/Search/index.tsx b/src/components/templates/Search/index.tsx index e3a1ad218..1995e92ef 100644 --- a/src/components/templates/Search/index.tsx +++ b/src/components/templates/Search/index.tsx @@ -42,9 +42,9 @@ export default function SearchPage({ {text && } - */}
{loading ? : }