1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +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(() => {
if (!totalPages || totalPages < 2) return null
if (!totalPages || totalPages < 2) return
const mq = window.matchMedia('(min-width: 600px)')
viewportChange(mq)

View File

@ -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 {

View File

@ -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 {

View File

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