]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix(input-group): custom-file with validation (#33239)
authorGaël Poupard <ffoodd@users.noreply.github.com>
Thu, 21 Oct 2021 06:00:22 +0000 (08:00 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Oct 2021 06:00:22 +0000 (09:00 +0300)
scss/_input-group.scss

index d72ebeaba7af6c98bafa2c7e7b899e424749b0b4..5acedd696ec0824cd9a228f2ad1f0e45c6e93f30 100644 (file)
     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);
     }