mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
replace date-picker font icon
This commit is contained in:
parent
87594997d2
commit
ca644505be
@ -338,7 +338,7 @@ class RangePicker extends React.Component<any, RangePickerState> {
|
||||
tabIndex={-1}
|
||||
/>
|
||||
{clearIcon}
|
||||
<span className={`${prefixCls}-picker-icon`} />
|
||||
<Icon type="calendar" className={`${prefixCls}-picker-icon`}/>
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
@ -132,7 +132,7 @@ class WeekPicker extends React.Component<any, any> {
|
||||
style={style}
|
||||
/>
|
||||
{clearIcon}
|
||||
<span className={`${prefixCls}-picker-icon`} />
|
||||
<Icon type="calendar" className={`${prefixCls}-picker-icon`}/>
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
@ -171,7 +171,7 @@ export default function createPicker(TheCalendar: React.ComponentClass): any {
|
||||
{...dataOrAriaProps}
|
||||
/>
|
||||
{clearIcon}
|
||||
<span className={`${prefixCls}-picker-icon`} />
|
||||
<Icon type="calendar" className={`${prefixCls}-picker-icon`}/>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
@ -81,15 +81,11 @@
|
||||
}
|
||||
|
||||
&-icon {
|
||||
font-family: "anticon";
|
||||
font-size: @font-size-base;
|
||||
color: @disabled-color;
|
||||
&:after {
|
||||
content: "\e6bb";
|
||||
font-family: "anticon";
|
||||
font-size: @font-size-base;
|
||||
color: @disabled-color;
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
}
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
&-small &-clear,
|
||||
|
Loading…
Reference in New Issue
Block a user