mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
data token display tweaks
This commit is contained in:
parent
b03955d618
commit
a37aff907a
@ -32,7 +32,7 @@ export default function Coin({
|
||||
|
||||
<h4 className={styles.tokenName}>
|
||||
{datatokenOptions?.name || 'Data Token'}
|
||||
{datatokenOptions?.name && generateName && (
|
||||
{datatokenOptions?.name && typeof generateName === 'function' && (
|
||||
<RefreshName generateName={generateName} />
|
||||
)}
|
||||
</h4>
|
||||
|
@ -2,17 +2,18 @@
|
||||
composes: content from './index.module.css';
|
||||
}
|
||||
|
||||
.form {
|
||||
max-width: 12rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
@media (min-width: 55rem) {
|
||||
.form {
|
||||
max-width: 12rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.grid {
|
||||
margin-top: var(--spacer);
|
||||
display: grid;
|
||||
gap: var(--spacer);
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@ -21,12 +22,18 @@
|
||||
}
|
||||
|
||||
.datatoken {
|
||||
margin-top: calc(var(--spacer) / 6);
|
||||
color: var(--color-secondary);
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-bold);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.datatoken h4 {
|
||||
font-size: var(--font-size-small);
|
||||
color: var(--color-secondary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.datatoken strong {
|
||||
color: var(--brand-grey);
|
||||
color: var(--brand-grey-dark);
|
||||
}
|
||||
|
@ -39,10 +39,11 @@ export default function Fixed({
|
||||
</div>
|
||||
{datatokenOptions && (
|
||||
<div className={styles.datatoken}>
|
||||
<strong>Data Token</strong>
|
||||
<RefreshName generateName={generateName} />
|
||||
<br />
|
||||
{datatokenOptions?.name} | {datatokenOptions?.symbol}
|
||||
<h4>
|
||||
Data Token <RefreshName generateName={generateName} />
|
||||
</h4>
|
||||
<strong>{datatokenOptions?.name}</strong> —{' '}
|
||||
<strong>{datatokenOptions?.symbol}</strong>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user