diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2020-10-22 11:42:05 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2020-10-27 01:23:25 +0300 |
commit | 3e2c3298da1dba3385819b0a0e921077963e4ee2 (patch) | |
tree | c902d2958ae4b13184a0a1584fcfce3af5989199 /scss/forms | |
parent | eb91c2ec2a7598c02b9920c012611187039708fc (diff) |
Require `.has-validation` class to fix border radii on form elements
Diffstat (limited to 'scss/forms')
-rw-r--r-- | scss/forms/_input-group.scss | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss index 7a9a14dd7b..065f8c6117 100644 --- a/scss/forms/_input-group.scss +++ b/scss/forms/_input-group.scss @@ -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) { |