Skip to content

Commit 793698a

Browse files
authored
add validation styles for .form-control-file (#26181)
1 parent 755fdac commit 793698a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scss/mixins/_forms.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@
6868
}
6969
}
7070

71+
.form-control-file {
72+
.was-validated &:#{$state},
73+
&.is-#{$state} {
74+
~ .#{$state}-feedback,
75+
~ .#{$state}-tooltip {
76+
display: block;
77+
}
78+
}
79+
}
80+
7181
.form-check-input {
7282
.was-validated &:#{$state},
7383
&.is-#{$state} {

0 commit comments

Comments
 (0)