mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
add validation styles for .form-control-file (#26181)
This commit is contained in:
parent
755fdacd40
commit
793698a6a9
@ -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} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user