diff --git a/components/slider/demo/basic.md b/components/slider/demo/basic.md index d180209a82..a610dc064a 100644 --- a/components/slider/demo/basic.md +++ b/components/slider/demo/basic.md @@ -1,6 +1,6 @@ --- order: 0 -title: +title: zh-CN: 基本 en-US: Basic --- @@ -23,12 +23,3 @@ ReactDOM.render(
, mountNode); ```` - - diff --git a/components/slider/style/index.less b/components/slider/style/index.less index a3afce84c2..ecef656d56 100644 --- a/components/slider/style/index.less +++ b/components/slider/style/index.less @@ -22,6 +22,10 @@ border-bottom: 4px solid #fff; transition: background-color 0.3s ease; + &-with-marks { + margin-bottom: 28px; + } + &-track { position: absolute; left: 0; diff --git a/package.json b/package.json index 5cc4f6ae27..b1aac70ca2 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "rc-radio": "~2.0.0", "rc-rate": "~1.1.2", "rc-select": "~6.6.1", - "rc-slider": "~5.2.0", + "rc-slider": "~5.3.0", "rc-steps": "~2.2.0", "rc-switch": "~1.4.2", "rc-table": "~5.0.0",