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:
parent
fc3593c890
commit
71fd7fc0dd
@ -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>
|
||||
|
@ -122,6 +122,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
color: $headline-color;
|
||||
}
|
||||
|
||||
.imgInfo {
|
||||
line-height: 22px;
|
||||
color: #939ba1;
|
||||
|
@ -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,
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user