Fix #19423 by defaulting to 0 instead of none

"transform: rotate(0);" makes sense as a default if no --fa-rotate-angle
is defined.
This commit is contained in:
Barry Pederson 2023-02-02 13:55:09 -08:00
parent adb2273bdb
commit 4441270ad8
2 changed files with 2 additions and 2 deletions

View File

@ -27,5 +27,5 @@
}
.@{fa-css-prefix}-rotate-by {
transform: rotate(~'var(--@{fa-css-prefix}-rotate-angle, none)');
transform: rotate(~'var(--@{fa-css-prefix}-rotate-angle, 0)');
}

View File

@ -27,5 +27,5 @@
}
.#{$fa-css-prefix}-rotate-by {
transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, none));
transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, 0));
}