mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
layout tweaks
This commit is contained in:
parent
c7c0707321
commit
d421986a50
@ -2,7 +2,7 @@
|
||||
|
||||
.content {
|
||||
padding: 0 $spacer / 1.5;
|
||||
max-width: $break-point--small;
|
||||
max-width: 47rem;
|
||||
margin: 0 auto;
|
||||
|
||||
@media (min-width: $break-point--small) {
|
||||
|
@ -65,7 +65,7 @@ export default class AssetDetails extends PureComponent<AssetDetailsProps> {
|
||||
</ul>
|
||||
|
||||
<Button onClick={() => purchaseAsset(ddo)}>
|
||||
Purchase asset
|
||||
Download asset
|
||||
</Button>
|
||||
|
||||
<pre>
|
||||
|
@ -5,6 +5,7 @@ import Route from '../../components/templates/Route'
|
||||
import Spinner from '../../components/atoms/Spinner'
|
||||
import { User } from '../../context/User'
|
||||
import AssetDetails from './AssetDetails'
|
||||
import stylesApp from '../../App.module.scss'
|
||||
|
||||
interface DetailsState {
|
||||
ddo: any
|
||||
@ -71,7 +72,9 @@ export default class Details extends Component<DetailsProps, DetailsState> {
|
||||
purchaseAsset={this.purchaseAsset}
|
||||
/>
|
||||
) : (
|
||||
<Spinner message={'Loading asset...'} />
|
||||
<div className={stylesApp.loader}>
|
||||
<Spinner message={'Loading asset...'} />
|
||||
</div>
|
||||
)}
|
||||
</Route>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user