Makes the star icon rotate around its actual centre axis (#29844)
parent
cde3206478
commit
c6da3ee828
|
@ -2244,14 +2244,14 @@ a.account__display-name {
|
||||||
&.activate {
|
&.activate {
|
||||||
& > .icon {
|
& > .icon {
|
||||||
animation: spring-rotate-in 1s linear;
|
animation: spring-rotate-in 1s linear;
|
||||||
transform-origin: 50% 55%;
|
transform-origin: 50% 52%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.deactivate {
|
&.deactivate {
|
||||||
& > .icon {
|
& > .icon {
|
||||||
animation: spring-rotate-out 1s linear;
|
animation: spring-rotate-out 1s linear;
|
||||||
transform-origin: 50% 55%;
|
transform-origin: 50% 52%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue