2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03: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
+5 -3
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) {