>Doesn't setting width to 100% work ?
>IAC the pre tag seems a slightly odd choice. FWIW in most of my modals I use an angular form for the modal-body content - which will give you all of the layout options you can require.....
What do you normally use when you want to display long formatted text with tabs and carriage returns? We use ace editor in our application, I can look into using it in that form too, but I thought I need something nice and pre tag seems to work good.
If it's not broken, fix it until it is.
My Blog