diff --git a/docs/4.1/components/modal.md b/docs/4.1/components/modal.md index 3ed09170e1ec..ac9bf18e7c0d 100644 --- a/docs/4.1/components/modal.md +++ b/docs/4.1/components/modal.md @@ -472,14 +472,60 @@ Embedding YouTube videos in modals requires additional JavaScript not in Bootstr ## Optional sizes -Modals have two optional sizes, available via modifier classes to be placed on a `.modal-dialog`. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports. +Modals have three optional sizes, available via modifier classes to be placed on a `.modal-dialog`. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SizeClassModal max-width
Small.modal-sm300px
DefaultNone500px
Large.modal-lg800px
Extra large.modal-xl1140px
+ +Our default modal without modifier class constitutes the "medium" size modal.
+
{% highlight html %} + + + + + @@ -503,6 +549,23 @@ Modals have two optional sizes, available via modifier classes to be placed on a {% endhighlight %} + +