Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modal scroll #60

Open
MansoorJafari9 opened this issue Apr 30, 2020 · 1 comment
Open

modal scroll #60

MansoorJafari9 opened this issue Apr 30, 2020 · 1 comment

Comments

@MansoorJafari9
Copy link

Hi,
How to set scroll for ngx-modal for more content?
scroll only work for below page.

@harshakn6
Copy link

Hi @MansoorJafari9 you need to set the bodyClass property with a CSS class like below.

.body-max-height {
 max-height: 500px; /*Or whatever feels right*/
 overflow-y: auto;
 overflow-x: hidden;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants