Fix features open and close + rework animation to be more pog
This commit is contained in:
parent
6908ae5bb5
commit
d2f94ef530
@ -73,7 +73,6 @@ const { title, description } = Astro.props;
|
||||
|
||||
setInitialHeight() {
|
||||
requestAnimationFrame(() => {
|
||||
console.log(this.padding);
|
||||
this.style.height = this.top.clientHeight + this.padding + "px"
|
||||
this.bottom.style.top = this.top.clientHeight + this.topPadding + "px";
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user