Commit Graph

16 Commits

Author SHA1 Message Date
Kramb 8c87e019a5 Add modal-dialog-centered class to vertically centered modal example. 2017-12-30 20:57:22 -08:00
Mark Otto 42e881f590 improve docs tables 2017-12-27 13:40:51 -08:00
Patrick H. Lauke 05d88ca285 Fix docs horizontal scrollbar (#24878)
* Fix docs horizontal scrollbar in Components > Modal

* Add overflow to docs example class

* Drop the handleUpdate() variant

While I understand the variant covers the "get a particular plugin instance" case from http://getbootstrap.com/docs/4.0/getting-started/javascript/#programmatic-api it seems weird that we do it here but not everywhere else in the docs (randomly checking other pages, we seem to stick to the documented methods as written on those pages). As this isn't properly explained as is, and as it adds nothing (more of a preference for authors), it would be easier to just drop the variant and stick with the documented method as outlined later on in the same page (avoids having to go off on a "why should you use this instead of that" tangent here).
2017-11-27 11:23:05 -08:00
Andres Galante b29e3f2a4c lets the centered modal have any height (#24803) 2017-11-24 14:28:58 -08:00
Johann-S 10773f45d4 Fix bad title for our dispose method in our documentation 2017-10-30 15:46:39 +01:00
Mark Otto b1623c4429
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.
2017-10-29 15:14:10 -07:00
Laussel Loïc 13898af590 remove form control label as it have been removed (#24442) 2017-10-19 10:31:49 -07:00
Johann-S 99eece1392 Add dispose methods in our documentation (#24396)
* Add dispose methods in our documentation

* Update buttons.md
2017-10-16 16:51:42 +02:00
Herst aae11ab6ab Added type="button" to <button>s without any type (#23866)
https://github.com/twbs/bootlint/wiki/W007
2017-10-02 18:59:37 -07:00
Herst d33b26d8c7 Fix missing tabindex and role in an example modal 2017-09-23 22:39:34 +02:00
vsn4ik 84b3097a4a Dont use short jQuery methods 2017-09-08 11:41:42 +03:00
CarloMartini 0bb9fd2082 Update modal.md
Removed a duplicate explanation.
2017-08-10 22:49:15 -07:00
Mark Otto 78167242b3 cleanup offsets 2017-07-01 10:42:36 -07:00
Johann-S 38ddf9ec28 Fix modal overflow with our navbar documentation and fix typo (#22864)
* Fix modal overflow with our navbar documentation and fix typo

* Fix z-index backdrop and modal with popover/tooltip example
2017-06-21 11:47:14 +02:00
Mark Otto b2c1e89c6a update urls 2017-05-29 23:32:28 -07:00
Mark Otto 3e76d65656 Rearrange all the docs to allow for a docs/major.minor/ setup 2017-05-29 23:32:28 -07:00