Skip to content

Commit

Permalink
Add styles for validating .form-control-file
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Apr 2, 2018
1 parent 98cad66 commit 09fa6fd
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 09fa6fd

Please sign in to comment.