Fix bounce scroll showing page contents from behind modal

This commit is contained in:
Kimmo Puputti 2017-10-06 11:17:12 +03:00
parent 38a31013a5
commit 7835522c50

View file

@ -17,6 +17,10 @@
& .scrollLayer {
@apply --marketplaceModalRootStyles;
/* Add default background color to avoid bouncing scroll showing the
page contents from behind the modal. */
background-color: var(--matterColorLight);
/* Additional styles for the modal window, dimming the background and positioning the modal */
min-height: 100vh;
overflow: auto;