Bugfix - Submit button out of screen in Contract Interaction modal (#2185)

* Add styles for adding scroll to modal
This commit is contained in:
Mati Dastugue 2021-04-27 08:43:26 -03:00 committed by GitHub
parent 07a820b323
commit 4cca3cf0ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -47,6 +47,9 @@ const ModalStyled = styled(ModalMUI)`
&.smaller-modal-window {
height: auto;
max-height: 90vh;
overflow: hidden;
overflow-y: auto;
}
&.modal {

View File

@ -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',