1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00

add help copy

This commit is contained in:
Matthias Kretschmann 2020-10-14 10:32:25 +02:00
parent 1a71f0f66f
commit 96ce7b518b
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,7 @@
.removeInput { .removeInput {
composes: addInput from './Add.module.css'; composes: addInput from './Add.module.css';
} padding-left: calc(var(--spacer) * 2);
padding-right: calc(var(--spacer) * 2);
.buttonMax {
composes: buttonMax from './Add.module.css';
bottom: -1rem;
right: 0;
} }
.userLiquidity { .userLiquidity {
@ -23,3 +19,7 @@
.range input { .range input {
width: 100%; width: 100%;
} }
.range p {
margin-bottom: 0;
}

View File

@ -6,6 +6,7 @@ import { toast } from 'react-toastify'
import Actions from './Actions' import Actions from './Actions'
import { Logger } from '@oceanprotocol/lib' import { Logger } from '@oceanprotocol/lib'
import Token from './Token' import Token from './Token'
import FormHelp from '../../../atoms/Input/Help'
export default function Remove({ export default function Remove({
setShowRemove, setShowRemove,
@ -84,6 +85,10 @@ export default function Remove({
value={amountPercent} value={amountPercent}
onChange={handleAmountPercentChange} onChange={handleAmountPercentChange}
/> />
<FormHelp>
Set the amount of your pool shares to spend. You will get the
equivalent value in OCEAN.
</FormHelp>
</div> </div>
</form> </form>