]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add `.modal-dialog-centered` for optional vertically centered modal (#24510)
authorMark Otto <markd.otto@gmail.com>
Sun, 29 Oct 2017 22:14:10 +0000 (15:14 -0700)
committerGitHub <noreply@github.com>
Sun, 29 Oct 2017 22:14:10 +0000 (15:14 -0700)
commitb1623c44290b414b656bb4d9e3baaaa3093bda8f
treec704380f51ba175adb62847a35649d6c0340216c
parentfceffd16c077efb1cffedd54d27c9fd40ba24b38
Add `.modal-dialog-centered` for optional vertically centered modal (#24510)

* Add .modal-dialog-centered for optional vertically cenetered modal

Fixes #23638

* adds modal-dialog-centered class to docs and removes margin to avoid generating a vertical scrolling

* mention limitations

* fix aria attr

* Add `width: 100%` to the .modal-content for the centered version. Adding it here to avoid adding another selector by limiting it to the centered modal modifier.
docs/4.0/components/modal.md
scss/_modal.scss