mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-18 04:19:27 +00:00
Makes the star icon rotate around its actual centre axis (#29844)
This commit is contained in:
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 a new issue