]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update _button-group.scss
authorAmirHossein <farajiamirhossein1374@gmail.com>
Sat, 3 Sep 2022 22:37:15 +0000 (03:07 +0430)
committerMark Otto <otto@github.com>
Mon, 5 Sep 2022 19:52:43 +0000 (12:52 -0700)
scss/_button-group.scss

index f78b8c1011f2cf32491d46dd5c60728d0b5ed8e4..ade1a4ed15ab0bf9a4aafeb655b99620ebcb71f0 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-child),
-  > .btn-group:not(:first-child) {
+  > .btn:not(:first-of-type),
+  > .btn-group:not(:first-of-type) {
     margin-left: -$btn-border-width;
   }