]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Unfuck those split button dropdowns
authorMark Otto <markdotto@gmail.com>
Wed, 11 May 2016 18:36:09 +0000 (11:36 -0700)
committerMark Otto <markdotto@gmail.com>
Wed, 11 May 2016 18:36:09 +0000 (11:36 -0700)
commitfda92d02a35de82de8a98af93e2ebe162c373615
treef0ad930eec8277a70c2223a9465aaa18bd3f0d09
parentb280e36b788e4b42bbb359f0a13db410adf7dd8c
Unfuck those split button dropdowns

- Really we didn't need to do any of that strip units stuff to generate six new variables, two for each button size
- Using sibling selectors, we can target those split button dropdown toggles using the .dropdown-toggle-split class, and adjust padding and margin as needed
- Now, we nuke the margin-left from the ::after generated caret and tighten up the padding so that those split toggles don't look huge next to their main button
docs/components/button-dropdown.md
scss/_button-group.scss
scss/_variables.scss