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);
|
||||
color: var(--brand-grey);
|
||||
text-align: center;
|
||||
margin-bottom: calc(var(--spacer) / 2);
|
||||
margin-bottom: calc(var(--spacer) / 6);
|
||||
}
|
||||
|
||||
.data {
|
||||
@ -51,7 +51,8 @@
|
||||
|
||||
.weight {
|
||||
width: 100%;
|
||||
margin-top: var(--spacer);
|
||||
text-align: center;
|
||||
margin-bottom: calc(var(--spacer) / 2);
|
||||
text-transform: uppercase;
|
||||
font-size: var(--font-size-small);
|
||||
color: var(--color-secondary);
|
||||
@ -59,5 +60,4 @@
|
||||
|
||||
.weight strong {
|
||||
color: var(--brand-grey);
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
@ -37,6 +37,10 @@ export default function Coin({
|
||||
)}
|
||||
</h4>
|
||||
|
||||
<div className={styles.weight}>
|
||||
Weight <strong>{weight}</strong>
|
||||
</div>
|
||||
|
||||
<div className={styles.data}>
|
||||
<InputElement
|
||||
value={value}
|
||||
@ -46,11 +50,9 @@ export default function Coin({
|
||||
readOnly={readOnly}
|
||||
prefix={datatokenOptions?.symbol || 'DT'}
|
||||
/>
|
||||
{datatokenOptions?.symbol === 'OCEAN' && (
|
||||
<Conversion price={value} className={stylesIndex.conversion} />
|
||||
|
||||
<div className={styles.weight}>
|
||||
Weight <strong>{weight}</strong>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user