fix: make textinput style guide compliant

fix: correct input spacing

fix: correct label color

fix: correct input width

fix: move formik stuff out of base TextInput
This commit is contained in:
Luis Félix 2020-01-20 17:04:42 +00:00 committed by Josh Harvey
parent 7b59e36cb4
commit a4532793f3
7 changed files with 153 additions and 76 deletions

View file

@ -3,11 +3,16 @@ import { offColor } from 'src/styling/variables'
const styles = {
header: {
display: 'flex',
'& > button': {
border: 'none',
backgroundColor: 'transparent',
'& > p': {
marginTop: 0
},
'& > div': {
marginLeft: 20,
cursor: 'pointer'
'& > button': {
border: 'none',
backgroundColor: 'transparent',
cursor: 'pointer'
}
}
},
section: {
@ -20,6 +25,7 @@ const contactInfoStyles = {
display: 'flex',
justifyContent: 'space-between',
marginBottom: 28,
width: 600,
'&:last-child': {
marginBottom: 0
}
@ -35,11 +41,13 @@ const contactInfoStyles = {
}
},
radioButtonsRow: {
height: 60
height: 60,
marginBottom: 14
},
radioButtons: {
display: 'flex',
flexDirection: 'row'
flexDirection: 'row',
paddingLeft: 4
},
submit: {
justifyContent: 'flex-start',