Bugfix - Submit button out of screen in Contract Interaction modal (#2185)
* Add styles for adding scroll to modal
This commit is contained in:
parent
07a820b323
commit
4cca3cf0ed
|
@ -47,6 +47,9 @@ const ModalStyled = styled(ModalMUI)`
|
|||
|
||||
&.smaller-modal-window {
|
||||
height: auto;
|
||||
max-height: 90vh;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
&.modal {
|
||||
|
|
|
@ -27,6 +27,9 @@ export const styles = createStyles({
|
|||
formContainer: {
|
||||
padding: `${md} ${lg}`,
|
||||
wordBreak: 'break-word',
|
||||
maxHeight: '50vh',
|
||||
overflow: 'hidden',
|
||||
overflowY: 'auto',
|
||||
},
|
||||
value: {
|
||||
marginLeft: sm,
|
||||
|
@ -48,7 +51,7 @@ export const styles = createStyles({
|
|||
lineHeight: '1.43',
|
||||
},
|
||||
buttonRow: {
|
||||
height: '84px',
|
||||
padding: '25px',
|
||||
justifyContent: 'center',
|
||||
'& > button': {
|
||||
fontFamily: 'Averta',
|
||||
|
|
Loading…
Reference in New Issue