mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-25 13:01:29 +08:00
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:
parent
adb2273bdb
commit
4441270ad8
@ -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)');
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user