]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update _button-group.scss
authorAmirHossein <farajiamirhossein1374@gmail.com>
Sun, 4 Sep 2022 19:31:09 +0000 (00:01 +0430)
committerMark Otto <otto@github.com>
Mon, 5 Sep 2022 19:52:43 +0000 (12:52 -0700)
scss/_button-group.scss

index ade1a4ed15ab0bf9a4aafeb655b99620ebcb71f0..79b100cbfbd466c27ba425d15043eaa7c1b475ad 100644 (file)
@@ -37,8 +37,8 @@
   @include border-radius($btn-border-radius);
 
   // Prevent double borders when buttons are next to each other
-  > .btn:not(:first-of-type),
-  > .btn-group:not(:first-of-type) {
+  > :not(.btn-check:first-child) + .btn,
+  > .btn-group:not(:first-child) {
     margin-left: -$btn-border-width;
   }