From 17a25b72c8d414c265e389def7a7bdc5779be57a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Jul 2018 20:15:48 -0700 Subject: [PATCH] add table of classes --- docs/4.1/components/modal.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs/4.1/components/modal.md b/docs/4.1/components/modal.md index 39c638b6d..0d0fc49a6 100644 --- a/docs/4.1/components/modal.md +++ b/docs/4.1/components/modal.md @@ -474,6 +474,40 @@ Embedding YouTube videos in modals requires additional JavaScript not in Bootstr 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. +