]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add horizontal list group modifier (#27970)
authorMark Otto <otto@github.com>
Mon, 7 Jan 2019 01:01:36 +0000 (17:01 -0800)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 7 Jan 2019 01:01:36 +0000 (03:01 +0200)
commite6b1eefc7392478c4acedaebc3c6b27a47e586c4
tree72f9b8959bb5ce2cd3ea0a9ca5819ad5d79b830a
parent42bed436e86103ba85e56ea76a1c6cc6d16218ba
Add horizontal list group modifier (#27970)

Alternate take to #27683 that builds the modifier class based on min-width, such that list groups are stacked until the class's breakpoint is reached. This is less verbose, matches our primary responsive approach, and prevents an extra class. Unfortunately, I believe supporting flush list groups is too much code here, so I've skipped that and made a note in the docs.

Also added examples generate from our breakpoints data file with a protip for how to do equal width items.
package.json
scss/_list-group.scss
scss/mixins/_border-radius.scss
site/docs/4.2/assets/scss/_component-examples.scss
site/docs/4.2/components/list-group.md