mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 09:44:53 +01:00
dynamic price tweaks
This commit is contained in:
parent
4749766cc2
commit
3442c39bd6
@ -29,7 +29,7 @@
|
|||||||
font-size: var(--font-size-base);
|
font-size: var(--font-size-base);
|
||||||
color: var(--brand-grey);
|
color: var(--brand-grey);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: calc(var(--spacer) / 2);
|
margin-bottom: calc(var(--spacer) / 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.data {
|
.data {
|
||||||
@ -51,7 +51,8 @@
|
|||||||
|
|
||||||
.weight {
|
.weight {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: var(--spacer);
|
text-align: center;
|
||||||
|
margin-bottom: calc(var(--spacer) / 2);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: var(--font-size-small);
|
font-size: var(--font-size-small);
|
||||||
color: var(--color-secondary);
|
color: var(--color-secondary);
|
||||||
@ -59,5 +60,4 @@
|
|||||||
|
|
||||||
.weight strong {
|
.weight strong {
|
||||||
color: var(--brand-grey);
|
color: var(--brand-grey);
|
||||||
font-size: var(--font-size-base);
|
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,10 @@ export default function Coin({
|
|||||||
)}
|
)}
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
|
<div className={styles.weight}>
|
||||||
|
Weight <strong>{weight}</strong>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className={styles.data}>
|
<div className={styles.data}>
|
||||||
<InputElement
|
<InputElement
|
||||||
value={value}
|
value={value}
|
||||||
@ -46,11 +50,9 @@ export default function Coin({
|
|||||||
readOnly={readOnly}
|
readOnly={readOnly}
|
||||||
prefix={datatokenOptions?.symbol || 'DT'}
|
prefix={datatokenOptions?.symbol || 'DT'}
|
||||||
/>
|
/>
|
||||||
|
{datatokenOptions?.symbol === 'OCEAN' && (
|
||||||
<Conversion price={value} className={stylesIndex.conversion} />
|
<Conversion price={value} className={stylesIndex.conversion} />
|
||||||
|
)}
|
||||||
<div className={styles.weight}>
|
|
||||||
Weight <strong>{weight}</strong>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user