[Glitch] Makes the star icon rotate around its actual centre axis

Port c6da3ee828 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
nicolas 2024-04-03 23:10:02 +02:00 committed by Claire
parent b21322b406
commit 41c43168fb

View file

@ -2458,14 +2458,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%;
} }
} }
} }