diff options
author | Gaƫl Poupard <ffoodd@users.noreply.github.com> | 2021-10-21 09:00:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 09:00:22 +0300 |
commit | e482fbb159234b35a07944762768a3dd43b43ede (patch) | |
tree | bcb2afc715a2d99552d9f332f748751ed410bf93 | |
parent | 8133c3e5b2addf3e1edb9f53e5ac1babd2f4de1d (diff) |
fix(input-group): custom-file with validation (#33239)
-rw-r--r-- | scss/_input-group.scss | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |