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 is cut off when viewpoint is between sm breakpoint and modal-md variables. #18443

Closed
wants to merge 2 commits into from

Conversation

jamarparris
Copy link

Fix modal being cut off when caught between sm breakpoint and modal-md value.

When resizing the modal between the sm default breakpoint of 544px and the modal-md value of 600px, the modal gets cut off until it reaches the 600px width. The fix applied here was to use max-width instead of width.

fix-sm-modal

…d value.

When resizing the modal between the sm default breakpoint of 544px and the modal-md value of 600px, the modal gets cut off until it reaches the 600px width. The fix applied here was to use max-width instead of width.
@cvrebert
Copy link
Collaborator

cvrebert commented Dec 6, 2015

Or perhaps we should adjust $modal-md so it's <= the SM breakpoint (544px).
It looks like .modal-lg also has the same problem.

@jamarparris
Copy link
Author

Ah, right you are. I added the same max-width fix to modal-sm and modal-lg.

If possible, I'd rather that modal-md not be any smaller than it currently is.

@mdo mdo mentioned this pull request Nov 26, 2016
@mdo
Copy link
Member

mdo commented Nov 26, 2016

Superseded by #21207.

@mdo mdo closed this Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants