From: Gaƫl Poupard Date: Thu, 21 Oct 2021 06:00:22 +0000 (+0200) Subject: fix(input-group): custom-file with validation (#33239) X-Git-Tag: v4.6.1~9 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e482fbb159234b35a07944762768a3dd43b43ede;p=thirdparty%2Fbootstrap.git fix(input-group): custom-file with validation (#33239) --- diff --git a/scss/_input-group.scss b/scss/_input-group.scss index d72ebeaba7..5acedd696e 100644 --- a/scss/_input-group.scss +++ b/scss/_input-group.scss @@ -52,12 +52,14 @@ align-items: center; &:not(:last-child) .custom-file-label, + &:not(:last-child) .custom-file-label::after { @include border-right-radius(0); } &:not(:first-child) .custom-file-label { @include border-left-radius(0); } } &:not(.has-validation) { > .form-control:not(:last-child), > .custom-select:not(:last-child), + > .custom-file:not(:last-child) .custom-file-label, > .custom-file:not(:last-child) .custom-file-label::after { @include border-right-radius(0); } @@ -66,6 +68,7 @@ &.has-validation { > .form-control:nth-last-child(n + 3), > .custom-select:nth-last-child(n + 3), + > .custom-file:nth-last-child(n + 3) .custom-file-label, > .custom-file:nth-last-child(n + 3) .custom-file-label::after { @include border-right-radius(0); }