1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-01 03:54:46 +00:00

Add description to pop-up box

This commit is contained in:
Onuwa Nnachi Isaac 2019-06-29 10:50:40 +01:00
parent fc3593c890
commit 71fd7fc0dd
No known key found for this signature in database
GPG Key ID: 831A4177E1A2CEBB
3 changed files with 8 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import sntIcon from '../../common/assets/images/SNT.svg'
import 'rc-slider/assets/index.css'
import 'rc-tooltip/assets/bootstrap.css'
import { DappState } from '../../common/data/dapp'
import validator from 'validator';
import validator from 'validator'
const getCategoryName = category =>
Categories.find(x => x.key === category).value
@ -161,7 +161,7 @@ class Submit extends React.Component {
}
const functor = id === '' ? switchToRating : this.onSubmit
functor();
functor()
}
onSubmit() {
@ -447,6 +447,7 @@ class Submit extends React.Component {
type="text"
value={sntValue}
onChange={this.handleSNTChange}
placeholder="0"
style={{ width: `${21 * Math.max(1, sntValue.length)}px` }}
/>
</div>

View File

@ -122,6 +122,10 @@
}
}
input::placeholder {
color: $headline-color;
}
.imgInfo {
line-height: 22px;
color: #939ba1;

View File

@ -138,7 +138,7 @@ export const submitAction = (dapp, sntValue) => {
onStartProgressAction(
dapp.name,
dapp.image,
'Status is an open source mobile DApp browser and messenger build for #Etherium',
dapp.description,
TYPE_SUBMIT,
),
)