]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Mention replacement for .btn-group-justified (#23838)
authorHerst <Herst@users.noreply.github.com>
Wed, 27 Sep 2017 07:53:56 +0000 (09:53 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 27 Sep 2017 07:53:56 +0000 (10:53 +0300)
Solution mentioned by Chris Baswell at https://stackoverflow.com/a/45969088

docs/4.0/migration.md

index 300d43dbd0df8580ccadcc5419f43e173bdd0e1f..898283b225f4568fe69df142bd2889c6d38b5a64 100644 (file)
@@ -135,7 +135,7 @@ New to Bootstrap 4 is the [Reboot]({{ site.baseurl }}/docs/{{ site.docs_version
 ### Button group
 
 - Rewrote component with flexbox.
-- Removed `.btn-group-justified`.
+- Removed `.btn-group-justified`. As a replacement you can use `<div class="btn-group d-flex" role="group"></div>` as a wrapper around elements with `.w-100`.
 - Dropped the `.btn-group-xs` class entirely given removal of `.btn-xs`.
 - Removed explicit spacing between button groups in button toolbars; use margin utilities now.
 - Improved documentation for use with other components.