mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
place some tooltips
This commit is contained in:
parent
d80d6d7990
commit
508e4f7165
@ -11,8 +11,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
width: 15px;
|
width: 1rem;
|
||||||
height: 15px;
|
height: 1rem;
|
||||||
cursor: help;
|
cursor: help;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: -0.1rem;
|
margin-bottom: -0.1rem;
|
||||||
|
@ -8,6 +8,7 @@ import Loader from '../../../atoms/Loader'
|
|||||||
import Button from '../../../atoms/Button'
|
import Button from '../../../atoms/Button'
|
||||||
import Add from './Add'
|
import Add from './Add'
|
||||||
import Remove from './Remove'
|
import Remove from './Remove'
|
||||||
|
import Tooltip from '../../../atoms/Tooltip'
|
||||||
|
|
||||||
interface Balance {
|
interface Balance {
|
||||||
ocean: string
|
ocean: string
|
||||||
@ -94,11 +95,15 @@ export default function Pool({ ddo }: { ddo: DDO }): ReactElement {
|
|||||||
<div className={styles.dataToken}>
|
<div className={styles.dataToken}>
|
||||||
<PriceUnit price="1" symbol={dtSymbol} /> ={' '}
|
<PriceUnit price="1" symbol={dtSymbol} /> ={' '}
|
||||||
<PriceUnit price={dtPrice} />
|
<PriceUnit price={dtPrice} />
|
||||||
|
<Tooltip content="Explain how this price is determined..." />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.poolTokens}>
|
<div className={styles.poolTokens}>
|
||||||
<div className={styles.tokens}>
|
<div className={styles.tokens}>
|
||||||
<h3 className={styles.title}>Your Pool Share</h3>
|
<h3 className={styles.title}>
|
||||||
|
Your Pool Share{' '}
|
||||||
|
<Tooltip content="Explain what this represents, advantage of providing liquidity..." />
|
||||||
|
</h3>
|
||||||
<Token symbol="OCEAN" balance={userBalance.ocean} />
|
<Token symbol="OCEAN" balance={userBalance.ocean} />
|
||||||
<Token symbol={dtSymbol} balance={userBalance.dt} />
|
<Token symbol={dtSymbol} balance={userBalance.dt} />
|
||||||
<Token symbol="%" balance={poolShare} />
|
<Token symbol="%" balance={poolShare} />
|
||||||
|
Loading…
Reference in New Issue
Block a user