Add classNameSize (Bootstrap optional sizes)#228
Add classNameSize (Bootstrap optional sizes)#228makeusabrew merged 2 commits intobootboxjs:masterfrom
Conversation
|
Hmm. What a pity the class has to be added on the modal-dialog and not the outer wrapper (which we can already target). Either way, there are a few things which I think would benefit from addressing:
Which internally applies whatever the relevant classes are in the relevant places. I'm leaning towards this, especially as the Bootstrap examples add classes to both the dialog and the outer wrapper (although they don't state that the outer ones are necessary).
Thanks, Nick |
|
2)I made the changes that you advised. It works like in your example ("large" or "small").
|
Add classNameSize (Bootstrap optional sizes)
|
When this option will be ready? |
Add classNameSize (Bootstrap optional sizes)
A little option attribute for being able to use the Bootstrap optional sizes ("modal-lg", "modal-sm") that we have to add in the modal-dialog div. (http://getbootstrap.com/javascript/#modals-sizes)
Example for a large modal: