From e482fbb159234b35a07944762768a3dd43b43ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Thu, 21 Oct 2021 08:00:22 +0200 Subject: [PATCH] fix(input-group): custom-file with validation (#33239) --- scss/_input-group.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scss/_input-group.scss b/scss/_input-group.scss index d72ebeaba7af..5acedd696ec0 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); }