]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix vertical input button group margin (#24498)
authorGijs Boddeus <botje_gijs@hotmail.com>
Sun, 22 Oct 2017 19:17:22 +0000 (21:17 +0200)
committerMark Otto <markd.otto@gmail.com>
Sun, 22 Oct 2017 19:17:22 +0000 (12:17 -0700)
* add margin-bottom to .btn of a vertical button group

* match margins of radio/checkbox buttons in a btn-group to the actual buttons

* add comment

scss/_button-group.scss

index 4dcd9aa67c3becd912df5b934f727b77b64c7425..713a07d52837f6a6b82f91c11b559242d6f1c054 100644 (file)
 [data-toggle="buttons"] {
   > .btn,
   > .btn-group > .btn {
+    margin-bottom: 0; // Override default `<label>` value
+
     input[type="radio"],
     input[type="checkbox"] {
       position: absolute;