Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
J Scot AngusCourses Plus Student 5,891 Points
Why doesn't width of Bootstrap 4 modal decrease when it first bumps up against the viewport @615px instead of at 544px?
I already spent 10 minutes typing this question out once ... then accidentally hit the escape key -- which dismissed the "Ask a Question" modal and therefore all my work. Ugh... that is REALLY frustrating.
Anyway... my question (interestingly enough, about modals) is this:
Why doesn't the bootstrap 4 modal adjust as soon as it bumps up against the viewport? right now, it's only doing this once the viewport his 544px ... but prior to that (starting at 615px), the viewport gets smaller than the modal, and so you can't see the whole thing.
Bottom line: I only want the form fields to stack once the viewport is smaller than the modal. What would be the point of stacking beforehand?
Here's my code snapshot:
ps. I wanted to keep my original question (which is now pasted below) active as a way of making pain points visible, but... now I can't seem to ask my question in the Community forum specific to the section of the class I'm taking. :(
Previous Question: accidentally hit "ESC" button and closed the "Ask a Question" modal ... after I'd spent 10 minutes typing my question! Argh!!
Aw, gotta love when that sort of thing happens. I've had bad experiences like that before, so now I just type everything up in a text editor first and then copy and paste it wherever (or copy by hand if it needs to be proof read).