mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
fix: fix slider disabled style bug.
This commit is contained in:
parent
a8ed06ec86
commit
59c36965ea
14
index.js
14
index.js
@ -3,14 +3,14 @@ require('./style/index.less');
|
||||
// matchMedia polyfill for
|
||||
// https://github.com/WickyNilliams/enquire.js/issues/82
|
||||
window.matchMedia = window.matchMedia || function () {
|
||||
return {
|
||||
matches: false,
|
||||
addListener: function () {
|
||||
},
|
||||
removeListener: function () {
|
||||
}
|
||||
};
|
||||
return {
|
||||
matches: false,
|
||||
addListener: function () {
|
||||
},
|
||||
removeListener: function () {
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
const antd = {
|
||||
Affix: require('./components/affix'),
|
||||
|
@ -126,13 +126,13 @@
|
||||
background-color: @slider-disabled-color !important;
|
||||
}
|
||||
|
||||
.@{slider-prefix-cls}-handle {
|
||||
border-color: @slider-disabled-color;
|
||||
.@{slider-prefix-cls}-handle, .@{slider-prefix-cls}-dot {
|
||||
border-color: @slider-disabled-color!important;
|
||||
background-color: #fff;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.@{slider-prefix-cls}-mark-text, .dot {
|
||||
.@{slider-prefix-cls}-mark-text, .@{slider-prefix-cls}-dot {
|
||||
cursor: not-allowed!important;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user