From aa6722b0d2b81c124b9429b2891f97a297312dd5 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Sat, 8 Aug 2015 00:49:48 +0800 Subject: [PATCH] upgrade slider --- package.json | 2 +- style/components/slider.less | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 84b1e73343..32b2b5e585 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "rc-progress": "~1.0.0", "rc-radio": "~2.0.0", "rc-select": "~4.5.2", - "rc-slider": "~1.3.1", + "rc-slider": "~1.4.0", "rc-steps": "~1.1.4", "rc-switch": "~1.2.0", "rc-table": "~3.1.0", diff --git a/style/components/slider.less b/style/components/slider.less index eca1cd1ed9..c6883e5003 100644 --- a/style/components/slider.less +++ b/style/components/slider.less @@ -133,7 +133,7 @@ display: none; } - &-placement-top { + &-placement-points-bc-tc { padding: @slider-tooltip-arrow-width 0 @slider-tooltip-distance 0; } @@ -158,7 +158,7 @@ border-style: solid; } - &-placement-top &-arrow { + &-placement-points-bc-tc &-arrow { bottom: @slider-tooltip-distance - @slider-tooltip-arrow-width; left: 50%; margin-left: -@slider-tooltip-arrow-width;