I am using the default bootstrap3 css files.
I noticed that the default css width of the modal-dialog is 600px.
However I need the width to be 1000px for my screen.
If the screen is larger than 1000px the modal width still needs to be 1000px.
<style>
.modal-dialog { width: 1000px; }
</style>
This works correctly, however if I resize the window smaller than 1000px the dialog needs to resize responsively with the window width e.g. be the same as the window width. When you resize the windows larger than 1000px it must stay the same width of 1000px.
I tried set
<style>
.modal-dialog { width: auto; }
</style>
but the behavior matches the default boostrap and the size is still the default 600px and if you resize that smaller than 600px it is adaptive. I basically want the same behaviour as default bootstrap css but for the size 1000px;
I tried combinations of the answers in the other stackoverflow question which deals with setting the modal dialog width but couldn't get a solution to work.