]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Make styling of grouped option buttons class-based
authorRaffy Alcoriza <raffy@kalibrr.com>
Thu, 9 Nov 2017 07:02:46 +0000 (15:02 +0800)
committerRaffy Alcoriza <raffy@kalibrr.com>
Thu, 9 Nov 2017 07:02:46 +0000 (15:02 +0800)
Referencing #23728, styling grouped radio and checkbox buttons should not require the data-toggle attribute.

scss/_button-group.scss

index 8be3a6a7f5b1ba9ceaeb9370f769d92f70f75d86..6c4a0ca7f91dc8463524b94687b5c1ab3b087563 100644 (file)
 // See https://github.com/twbs/bootstrap/pull/12794 and
 // https://github.com/twbs/bootstrap/pull/14559 for more information.
 
-[data-toggle="buttons"] {
+.btn-toggle-group {
   > .btn,
   > .btn-group > .btn {
     margin-bottom: 0; // Override default `<label>` value