[Glitch] Adjust transform origin for favorite star
Port e4e752c26e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
6230d50f3f
commit
b2a6386b7d
|
@ -384,12 +384,14 @@ body > [data-popper-placement] {
|
||||||
&.activate {
|
&.activate {
|
||||||
& > .icon {
|
& > .icon {
|
||||||
animation: spring-rotate-in 1s linear;
|
animation: spring-rotate-in 1s linear;
|
||||||
|
transform-origin: 50% 55%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.deactivate {
|
&.deactivate {
|
||||||
& > .icon {
|
& > .icon {
|
||||||
animation: spring-rotate-out 1s linear;
|
animation: spring-rotate-out 1s linear;
|
||||||
|
transform-origin: 50% 55%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue