Is there any way to use Bootstrap to create a modal that expands to the width of the viewport? I've seen lots of suggestions (most of which involve changing
.modal-dialog { width:auto}
to .modal-dialog { width:600px }
or some other value, but I'm not seeing any results with this.
I have a modal-body and modal-header inside of a modal-content inside of a modal-dialogue inside of a modal fade.
<div class="modal fade" >
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header"> Header Text </div>
<div class="modal-body"> body text </div>
</div>
</div>
</div>
Am I not updating the right modal class? Or is there some other secret to increasing the width of the viewport?