Reputation: 5370
I'm trying to move the green validation checkmark further to the left (i.e., increase padding to the right), as it is very tight to the select icon. Is it possible to do that?
I tried the below:
.is-valid {
padding-right:30px !important;
}
Upvotes: 1
Views: 837
Reputation: 6827
Bootstrap uses background image property you just need to change its background-position
For Example
.form-control.is-valid, .was-validated .form-control:valid {
background-position: center right calc(.375em + .4875rem); /* set position */
}
Upvotes: 2