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:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user