💄 Fix RangePicker ranges color when custom theme (#23705)

close #23687
This commit is contained in:
偏右 2020-04-28 14:59:17 +08:00 committed by GitHub
parent f6d12c5d88
commit b70d607b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import * as React from 'react';
import Tag, { TagProps } from '../tag';
export default function PickerButton(props: TagProps) {
export default function PickerTag(props: TagProps) {
return <Tag color="blue" {...props} />;
}

View File

@ -243,7 +243,11 @@
display: inline-block;
}
.@{picker-prefix-cls}-preset span {
// https://github.com/ant-design/ant-design/issues/23687
.@{picker-prefix-cls}-preset > .@{ant-prefix}-tag-blue {
color: @primary-color;
background: @primary-1;
border-color: @primary-3;
cursor: pointer;
}