mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-01-11 12:04:21 +00:00
update styling for multiline input
This commit is contained in:
parent
04289332cc
commit
d5f72e9f8d
@ -24,6 +24,15 @@ const styles = theme => ({
|
||||
marginTop: theme.spacing.unit * 3,
|
||||
},
|
||||
},
|
||||
multi: {
|
||||
'label + &': {
|
||||
gridRowStart: 2,
|
||||
gridColumnStart: 1,
|
||||
gridColumnEnd: 13,
|
||||
marginTop: theme.spacing.unit * 3,
|
||||
paddingRight: '24px'
|
||||
},
|
||||
},
|
||||
input: {
|
||||
borderRadius: 8,
|
||||
backgroundColor: '#edf2f5',
|
||||
@ -90,7 +99,7 @@ function Input({
|
||||
name={name}
|
||||
onChange={onChange}
|
||||
classes={{
|
||||
root: classes.root,
|
||||
root: multiline ? classes.multi : classes.root,
|
||||
input: classes.input,
|
||||
}}
|
||||
onBlur={onBlur}
|
||||
|
Loading…
x
Reference in New Issue
Block a user