Skip to content

Commit

Permalink
Makes the star icon rotate around its actual centre axis (#29844)
Browse files Browse the repository at this point in the history
  • Loading branch information
nclm committed Apr 3, 2024
1 parent cde3206 commit c6da3ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}
}
}
Expand Down

0 comments on commit c6da3ee

Please sign in to comment.