Fix features open and close + rework animation to be more pog

This commit is contained in:
ferrreo 2023-06-28 20:36:12 +01:00
parent 6908ae5bb5
commit d2f94ef530

View File

@ -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";
});