1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00

Require .has-validation class to fix border radii on form elements

This commit is contained in:
Martijn Cuppens
2020-10-22 10:42:05 +02:00
committed by Mark Otto
parent eb91c2ec2a
commit 3e2c3298da
2 changed files with 9 additions and 5 deletions

View File

@@ -128,9 +128,11 @@
// stylelint-disable-next-line no-duplicate-selectors
.input-group {
> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
> .dropdown-toggle:nth-last-child(n + 3) {
@include border-right-radius(0);
&:not(.has-validation) {
> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
> .dropdown-toggle:nth-last-child(n + 3) {
@include border-right-radius(0);
}
}
> :not(:first-child):not(.dropdown-menu) {