diff --git a/scss/forms/_form-check.scss b/scss/forms/_form-check.scss index 1f46ff3782..081db7bdec 100644 --- a/scss/forms/_form-check.scss +++ b/scss/forms/_form-check.scss @@ -264,11 +264,11 @@ content: ""; } - &:not(:first-of-type) { + .btn-group &:not(.btn-no-outline):not(:first-of-type) { border-left: 0; } - &:not(:last-of-type) { + .btn-group &:not(.btn-no-outline):not(:last-of-type) { border-right: 0; } }