From 7d4d21390498d7e80dd17a759e427184e6a8aae1 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Wed, 1 Sep 2021 20:21:29 +0100 Subject: [PATCH] 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 --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index edf5c94..e26cf1c 100644 --- a/src/App.js +++ b/src/App.js @@ -135,7 +135,7 @@ class App extends React.Component { this.root.animate({ marginBottom: [`${this.root.marginBottom}px`, `${this.cookieNotice.offsetHeight}px`], }, { - duration: 1000, + duration: 500, easing: "ease-in-out", iterations: 1, fill: "forwards",