From 5a012ead269e212dda6fb751a29a1e43f28e9848 Mon Sep 17 00:00:00 2001 From: paranoidjk Date: Sat, 6 May 2017 03:43:03 +0800 Subject: [PATCH] fix(slider): handle active style https://github.com/react-component/slider/pull/263 --- components/slider/style/index.less | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/components/slider/style/index.less b/components/slider/style/index.less index 77c93e306b..3d53cb37c4 100644 --- a/components/slider/style/index.less +++ b/components/slider/style/index.less @@ -49,11 +49,9 @@ background: #000; } - &-active { - &:active { - background-color: tint(@brand-primary, 20%); - box-shadow: 0 0 5px tint(@brand-primary, 20%); - } + &:active { + background-color: tint(@brand-primary, 20%); + box-shadow: 0 0 5px tint(@brand-primary, 20%); } } @@ -117,6 +115,7 @@ .@{sliderPrefixCls}-mark-text, .@{sliderPrefixCls}-dot { cursor: not-allowed; + box-shadow: none; } } }