mirror of
https://github.com/mastodon/mastodon
synced 2024-11-23 22:56:20 +09: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 {
|
||||
& > .icon {
|
||||
animation: spring-rotate-in 1s linear;
|
||||
transform-origin: 50% 55%;
|
||||
transform-origin: 50% 52%;
|
||||
}
|
||||
}
|
||||
|
||||
&.deactivate {
|
||||
& > .icon {
|
||||
animation: spring-rotate-out 1s linear;
|
||||
transform-origin: 50% 55%;
|
||||
transform-origin: 50% 52%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user