mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
chore: remove quick selector label, ref: #3753
This commit is contained in:
parent
cd2a1438b7
commit
1ae5bb9845
@ -68,7 +68,7 @@ export default class RangePicker extends React.Component<any, any> {
|
||||
}
|
||||
|
||||
renderFooter = () => {
|
||||
const { prefixCls, ranges, locale } = this.props;
|
||||
const { prefixCls, ranges } = this.props;
|
||||
if (!ranges) {
|
||||
return null;
|
||||
}
|
||||
@ -79,7 +79,6 @@ export default class RangePicker extends React.Component<any, any> {
|
||||
});
|
||||
return (
|
||||
<div className={`${prefixCls}-range-quick-selector`}>
|
||||
<label>{locale.lang.quickSelection}</label>
|
||||
{operations}
|
||||
</div>
|
||||
);
|
||||
|
@ -7,7 +7,6 @@ const locale = {
|
||||
lang: assign({
|
||||
placeholder: 'Select date',
|
||||
rangePlaceholder: ['Start date', 'End date'],
|
||||
quickSelection: 'Quick selection',
|
||||
}, CalendarLocale),
|
||||
timePickerLocale: assign({}, TimePickerLocale),
|
||||
};
|
||||
|
@ -10,7 +10,6 @@ const locale = {
|
||||
lang: assign({
|
||||
placeholder: 'Выберите дату',
|
||||
rangePlaceholder: ['Начальная дата', 'Конечная дата'],
|
||||
quickSelection: 'Quick selection',
|
||||
}, CalendarLocale),
|
||||
timePickerLocale: assign({}, TimePickerLocale),
|
||||
};
|
||||
|
@ -12,7 +12,6 @@ const locale = {
|
||||
lang: assign({
|
||||
placeholder: '请选择日期',
|
||||
rangePlaceholder: ['开始日期', '结束日期'],
|
||||
quickSelection: '快捷选择',
|
||||
}, CalendarLocale),
|
||||
timePickerLocale: assign({}, TimePickerLocale),
|
||||
};
|
||||
|
@ -159,14 +159,6 @@
|
||||
border-bottom: 1px solid @border-color-split;
|
||||
padding: 10.5px 10px;
|
||||
|
||||
> label {
|
||||
color: @text-color-secondary;
|
||||
&:after {
|
||||
content: ":";
|
||||
margin: 0 8px 0 2px;
|
||||
}
|
||||
}
|
||||
|
||||
> a {
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user