Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
fix: use max-height for <ModalBody> (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrymi authored May 13, 2020
1 parent 10000de commit 7c3982d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Modal.Body = createComponent({
name: 'ModalBody',
style: css`
padding: 1.25rem;
height: calc(90vh - 105px);
max-height: calc(90vh - 105px);
overflow-y: auto;
`,
});
Expand Down

0 comments on commit 7c3982d

Please sign in to comment.