mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
more obvious edit action
This commit is contained in:
parent
30b654975a
commit
cf254aa7c6
@ -35,20 +35,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: var(--spacer);
|
margin-top: var(--spacer);
|
||||||
margin-bottom: calc(var(--spacer) * 1.5);
|
margin-bottom: calc(var(--spacer) * 1.5);
|
||||||
margin-left: -2rem;
|
padding: calc(var(--spacer) / 3) var(--spacer);
|
||||||
margin-right: -2rem;
|
|
||||||
padding: calc(var(--spacer) / 4) var(--spacer);
|
|
||||||
border-top: 1px solid var(--border-color);
|
border-top: 1px solid var(--border-color);
|
||||||
border-bottom: 1px solid var(--border-color);
|
border-bottom: 1px solid var(--border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ownerActions a,
|
|
||||||
.ownerActions button {
|
|
||||||
color: var(--color-secondary);
|
|
||||||
margin-left: calc(var(--spacer) / 4);
|
|
||||||
margin-right: calc(var(--spacer) / 4);
|
|
||||||
}
|
|
||||||
|
|
||||||
.separator {
|
|
||||||
color: var(--color-secondary);
|
|
||||||
}
|
|
||||||
|
@ -16,6 +16,7 @@ import NetworkName from '@shared/NetworkName'
|
|||||||
import content from '../../../../content/purgatory.json'
|
import content from '../../../../content/purgatory.json'
|
||||||
import { AssetExtended } from 'src/@types/AssetExtended'
|
import { AssetExtended } from 'src/@types/AssetExtended'
|
||||||
import Web3 from 'web3'
|
import Web3 from 'web3'
|
||||||
|
import Button from '@shared/atoms/Button'
|
||||||
|
|
||||||
export default function AssetContent({
|
export default function AssetContent({
|
||||||
asset
|
asset
|
||||||
@ -74,9 +75,9 @@ export default function AssetContent({
|
|||||||
<AssetActions asset={asset} />
|
<AssetActions asset={asset} />
|
||||||
{isOwner && isAssetNetwork && (
|
{isOwner && isAssetNetwork && (
|
||||||
<div className={styles.ownerActions}>
|
<div className={styles.ownerActions}>
|
||||||
<Link href={`/asset/${asset?.id}/edit`}>
|
<Button style="text" size="small" to={`/asset/${asset?.id}/edit`}>
|
||||||
<a>Edit</a>
|
Edit Asset
|
||||||
</Link>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user