1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
This commit is contained in:
Matthias Kretschmann 2020-10-12 12:34:41 +02:00
parent 51ab425c35
commit a629112ebb
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 8 additions and 17 deletions

View File

@ -1,15 +1,3 @@
.tokeninfo {
margin-top: calc(var(--spacer) / 1.5);
}
.tokens {
composes: tokens from './index.module.css';
}
.title {
composes: title from './index.module.css';
}
.totalLiquidity {
composes: totalLiquidity from './index.module.css';
}

View File

@ -11,6 +11,7 @@
.title {
font-size: var(--font-size-base);
margin-bottom: calc(var(--spacer) / 3);
color: var(--color-secondary);
}
.highlight {

View File

@ -27,7 +27,7 @@
font-weight: var(--font-weight-base) !important;
font-size: var(--font-size-small);
padding-left: var(--font-size-base);
min-height: 24px;
padding-top: calc(var(--spacer) / 10);
}
.totalLiquidity strong {

View File

@ -163,10 +163,12 @@ export default function Pool({ ddo }: { ddo: DDO }): ReactElement {
<Token symbol="pool shares" balance={poolTokens} noIcon />
<Token symbol="% of pool" balance={poolShare} noIcon />
</div>
{totalUserLiquidityInOcean > 0 && (
<Conversion
price={`${totalUserLiquidityInOcean}`}
className={styles.totalLiquidity}
/>
)}
</TokenList>
<PoolStatistics