fix: zero conf limit field value and ui font size
This commit is contained in:
parent
561532339a
commit
293fc06d4b
2 changed files with 11 additions and 4 deletions
|
|
@ -72,7 +72,6 @@ const Wizard = ({
|
|||
)
|
||||
const configToSave = {
|
||||
...newConfig,
|
||||
zeroConfLimit: 0,
|
||||
cryptoUnits: defaultCryptoUnit
|
||||
}
|
||||
return save(toNamespace(coin.code, configToSave), newAccounts)
|
||||
|
|
@ -95,7 +94,7 @@ const Wizard = ({
|
|||
return { type: 'exchange', ...exchanges }
|
||||
case 4:
|
||||
return {
|
||||
type: 'confidenceChecking',
|
||||
type: 'zeroConf',
|
||||
name: 'confidence checking',
|
||||
schema: Yup.object().shape({
|
||||
zeroConfLimit: Yup.number().required()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { errorColor } from 'src/styling/variables'
|
||||
import { errorColor, fontSize1, fontPrimary } from 'src/styling/variables'
|
||||
|
||||
const LABEL_WIDTH = 150
|
||||
|
||||
|
|
@ -47,6 +47,14 @@ export default {
|
|||
alignItems: 'center'
|
||||
},
|
||||
zeroConfLimit: {
|
||||
margin: 10
|
||||
marginRight: 5,
|
||||
'& > div': {
|
||||
fontSize: fontSize1,
|
||||
fontFamily: fontPrimary,
|
||||
fontWeight: 300,
|
||||
'& > input': {
|
||||
padding: [[6, 0, 2]]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue