diff --git a/scss/_button-group.scss b/scss/_button-group.scss
index 4063506825ed72a2213287d5939f0a12a7d4d22d..189036bd30dfb648b2b0162aa9ad167d2c9b59e9 100644
--- a/scss/_button-group.scss
+++ b/scss/_button-group.scss
@@ -152,14 +152,14 @@
     &:not(:first-child):not(:last-child) {
       border-radius: 0;
     }
-  }
 
-  &:first-child:not(:last-child) {
-    @include border-bottom-radius(0);
-  }
+    &:first-child:not(:last-child) {
+      @include border-bottom-radius(0);
+    }
 
-  &:last-child:not(:first-child) {
-    @include border-top-radius(0);
+    &:last-child:not(:first-child) {
+      @include border-top-radius(0);
+    }
   }
 
   > .btn-group:not(:first-child):not(:last-child) > .btn {