From afe571e04f7dc56e3650d9039d175274c2ffcdbd Mon Sep 17 00:00:00 2001 From: Ryan Keairns Date: Tue, 5 Feb 2019 10:56:26 -0600 Subject: [PATCH] anim adjustments for K7 FF --- src/components/icon/__snapshots__/icon.test.tsx.snap | 6 +++--- src/components/nav_drawer/_nav_drawer.scss | 2 +- src/components/nav_drawer/_variables.scss | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 34bc828adca7..6c9dd06282a4 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -1721,11 +1721,11 @@ exports[`EuiIcon props type emsApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; diff --git a/src/components/nav_drawer/_nav_drawer.scss b/src/components/nav_drawer/_nav_drawer.scss index de43a39a39d6..78004ca67bd1 100644 --- a/src/components/nav_drawer/_nav_drawer.scss +++ b/src/components/nav_drawer/_nav_drawer.scss @@ -10,7 +10,7 @@ z-index: $euiZHeader; background: $euiHeaderBackgroundColor; box-shadow: $euiNavDrawerSideShadow; - transition: width $euiAnimSpeedFast $euiAnimSlightResistance; + transition: width $euiAnimSpeedExtraFast $euiAnimSlightResistance; transition-delay: $euiNavDrawerContractingDelay; &.euiNavDrawer-isCollapsed { diff --git a/src/components/nav_drawer/_variables.scss b/src/components/nav_drawer/_variables.scss index bfb3337e0da0..9cfc85fc3a8c 100644 --- a/src/components/nav_drawer/_variables.scss +++ b/src/components/nav_drawer/_variables.scss @@ -11,6 +11,6 @@ $euiNavDrawerTopPosition: $euiHeaderChildSize + 1px; // Animation variables $euiNavDrawerExpandingDelay: $euiAnimSpeedNormal; -$euiNavDrawerContractingDelay: $euiAnimSpeedSlow; +$euiNavDrawerContractingDelay: $euiAnimSpeedFast; $euiNavDrawerExtendedDelay: $euiAnimSpeedExtraSlow * 2; $euiNavDrawerMenuAddedDelay: $euiAnimSpeedExtraFast;