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-slider/assets/index.css'
|
||||||
import 'rc-tooltip/assets/bootstrap.css'
|
import 'rc-tooltip/assets/bootstrap.css'
|
||||||
import { DappState } from '../../common/data/dapp'
|
import { DappState } from '../../common/data/dapp'
|
||||||
import validator from 'validator';
|
import validator from 'validator'
|
||||||
|
|
||||||
const getCategoryName = category =>
|
const getCategoryName = category =>
|
||||||
Categories.find(x => x.key === category).value
|
Categories.find(x => x.key === category).value
|
||||||
@ -161,7 +161,7 @@ class Submit extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const functor = id === '' ? switchToRating : this.onSubmit
|
const functor = id === '' ? switchToRating : this.onSubmit
|
||||||
functor();
|
functor()
|
||||||
}
|
}
|
||||||
|
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
@ -447,6 +447,7 @@ class Submit extends React.Component {
|
|||||||
type="text"
|
type="text"
|
||||||
value={sntValue}
|
value={sntValue}
|
||||||
onChange={this.handleSNTChange}
|
onChange={this.handleSNTChange}
|
||||||
|
placeholder="0"
|
||||||
style={{ width: `${21 * Math.max(1, sntValue.length)}px` }}
|
style={{ width: `${21 * Math.max(1, sntValue.length)}px` }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -122,6 +122,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input::placeholder {
|
||||||
|
color: $headline-color;
|
||||||
|
}
|
||||||
|
|
||||||
.imgInfo {
|
.imgInfo {
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: #939ba1;
|
color: #939ba1;
|
||||||
|
@ -138,7 +138,7 @@ export const submitAction = (dapp, sntValue) => {
|
|||||||
onStartProgressAction(
|
onStartProgressAction(
|
||||||
dapp.name,
|
dapp.name,
|
||||||
dapp.image,
|
dapp.image,
|
||||||
'Status is an open source mobile DApp browser and messenger build for #Etherium',
|
dapp.description,
|
||||||
TYPE_SUBMIT,
|
TYPE_SUBMIT,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user