Update footer margin animation time

Animated when viewport width changes and cookie notice obstructs a different amount of the main page. Now 500 milliseconds instead of 1000
This commit is contained in:
2021-09-01 20:21:29 +01:00
parent fdadac9a3d
commit 7d4d213904

View File

@@ -135,7 +135,7 @@ class App extends React.Component {
this.root.animate({ this.root.animate({
marginBottom: [`${this.root.marginBottom}px`, `${this.cookieNotice.offsetHeight}px`], marginBottom: [`${this.root.marginBottom}px`, `${this.cookieNotice.offsetHeight}px`],
}, { }, {
duration: 1000, duration: 500,
easing: "ease-in-out", easing: "ease-in-out",
iterations: 1, iterations: 1,
fill: "forwards", fill: "forwards",