Skip to content

Commit

Permalink
Replace division with multiplication
Browse files Browse the repository at this point in the history
PR #2669 by @Sen
  • Loading branch information
NicolasCARPi authored Oct 13, 2021
2 parents ce2fba9 + 5f1912a commit 2d16ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sass/bootstrap-select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@function fade($color, $amnt) {
@if $amnt > 1 {
$amnt: $amnt / 100; // convert to percentage if int
$amnt: $amnt * 0.01; // convert to percentage if int
}
@return rgba($color, $amnt);
}
Expand Down

0 comments on commit 2d16ffa

Please sign in to comment.