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 {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
cursor: help;
|
||||
display: inline-block;
|
||||
margin-bottom: -0.1rem;
|
||||
|
@ -8,6 +8,7 @@ import Loader from '../../../atoms/Loader'
|
||||
import Button from '../../../atoms/Button'
|
||||
import Add from './Add'
|
||||
import Remove from './Remove'
|
||||
import Tooltip from '../../../atoms/Tooltip'
|
||||
|
||||
interface Balance {
|
||||
ocean: string
|
||||
@ -94,11 +95,15 @@ export default function Pool({ ddo }: { ddo: DDO }): ReactElement {
|
||||
<div className={styles.dataToken}>
|
||||
<PriceUnit price="1" symbol={dtSymbol} /> ={' '}
|
||||
<PriceUnit price={dtPrice} />
|
||||
<Tooltip content="Explain how this price is determined..." />
|
||||
</div>
|
||||
|
||||
<div className={styles.poolTokens}>
|
||||
<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={dtSymbol} balance={userBalance.dt} />
|
||||
<Token symbol="%" balance={poolShare} />
|
||||
|
Loading…
Reference in New Issue
Block a user