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

Add variable for modal breakpoint #3101

Merged
merged 1 commit into from
Sep 2, 2020
Merged

Add variable for modal breakpoint #3101

merged 1 commit into from
Sep 2, 2020

Conversation

justin-sleep
Copy link
Contributor

This is an improvement.

I've added a $modal-breakpoint variable, allowing developers to choose when the modal width changes from $modal-content-width to 100%. This allows for setting $modal-content-width to values larger than the tablet breakpoint without the content getting cut off when the viewport is smaller than that value.

Testing Done

I ensured that setting the $modal-breakpoint variable affects the point at which the modal width changes.

Changelog updated?

No.

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

Successfully merging this pull request may close these issues.

2 participants