mirror of
https://github.com/oceanprotocol/market.git
synced 2024-06-28 16:47:52 +02:00
65194696d3
* used price from subgraph for asset teasers * moved loading component inside AssetList * replaced any with proper types inside subgraph utils * fixed loading component displayed when empty assets or prices list * show loading component when refetching data on sort and filter * get each asset price before displaying the component, loading changes * refactoring functions for getting asset prices Co-authored-by: Norbi <katunanorbert@gmai.com>
25 lines
432 B
CSS
25 lines
432 B
CSS
.assetList {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: calc(var(--spacer) / 2);
|
|
}
|
|
|
|
@media screen and (min-width: 25rem) {
|
|
.assetList {
|
|
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
|
|
gap: var(--spacer);
|
|
}
|
|
}
|
|
|
|
.empty {
|
|
color: var(--color-secondary);
|
|
font-size: var(--font-size-small);
|
|
font-style: italic;
|
|
}
|
|
|
|
.loaderWrap {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|