From 696b4252a834965f62c0a47c0e0e8058a374ba88 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 6 Sep 2017 13:46:45 +0800 Subject: [PATCH] tweak collpse animation easing --- components/layout/style/index.less | 2 +- components/menu/style/index.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/style/index.less b/components/layout/style/index.less index 78b3619ad7..7304a330a5 100644 --- a/components/layout/style/index.less +++ b/components/layout/style/index.less @@ -40,7 +40,7 @@ } &-sider { - transition: all .15s @ease-in-out; + transition: all .2s; position: relative; background: @layout-sider-background; diff --git a/components/menu/style/index.less b/components/menu/style/index.less index 9002fcad24..c547bdd3dc 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -14,7 +14,7 @@ color: @text-color; background: @component-background; line-height: 46px; - transition: background .3s @ease-in-out, width .15s @ease-in-out; + transition: background .3s, width .2s; &-hidden { display: none;