Skip to content

Commit

Permalink
add validation styles for .form-control-file (#26181)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo authored Apr 24, 2018
1 parent 755fdac commit 793698a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scss/mixins/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@
}
}

.form-control-file {
.was-validated &:#{$state},
&.is-#{$state} {
~ .#{$state}-feedback,
~ .#{$state}-tooltip {
display: block;
}
}
}

.form-check-input {
.was-validated &:#{$state},
&.is-#{$state} {
Expand Down

0 comments on commit 793698a

Please sign in to comment.