1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 09:44:53 +01:00

Merge pull request #86 from oceanprotocol/fix/search

Fix/search
This commit is contained in:
Matthias Kretschmann 2020-09-23 22:06:28 +02:00 committed by GitHub
commit 897bfb6e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ export default function Pagination({
} }
useEffect(() => { useEffect(() => {
if (!totalPages || totalPages < 2) return null if (!totalPages || totalPages < 2) return
const mq = window.matchMedia('(min-width: 600px)') const mq = window.matchMedia('(min-width: 600px)')
viewportChange(mq) viewportChange(mq)

View File

@ -2,8 +2,8 @@
padding: calc(var(--spacer) / 4); padding: calc(var(--spacer) / 4);
} }
.details > section[class*="feedback"] { .details > section[class*='feedback'] {
margin-top: calc(var(--spacer) / 2) margin-top: calc(var(--spacer) / 2);
} }
.balance { .balance {

View File

@ -5,10 +5,10 @@
@media (min-width: 55rem) { @media (min-width: 55rem) {
.grid { .grid {
grid-column-gap: calc(var(--spacer) * 3); grid-column-gap: calc(var(--spacer) * 3);
grid-template-columns: minmax(0, 3fr) 1fr; /* grid-template-columns: minmax(0, 3fr) 1fr; */
grid-template-areas: grid-template-areas:
'search side' 'search'
'results side'; 'results';
} }
.search { .search {

View File

@ -42,9 +42,9 @@ export default function SearchPage({
{text && <SearchBar initialValue={text as string} />} {text && <SearchBar initialValue={text as string} />}
</div> </div>
<aside className={styles.side}> {/* <aside className={styles.side}>
<SearchPriceFilter /> <SearchPriceFilter />
</aside> </aside> */}
<div className={styles.results}> <div className={styles.results}>
{loading ? <Loader /> : <AssetList queryResult={queryResult} />} {loading ? <Loader /> : <AssetList queryResult={queryResult} />}