'How to ant datepicker suffix icon change location?
I want to change calendar icon location without flex-flow:row-reverse. Any other way to do this?
Solution 1:[1]
const StyledRangePicker = styled(RangePicker)`
padding-left: 34px;
.ant-picker-suffix {
position: absolute;
left: 6px;
content: url(/assets/img/date-picker-icon.png);
background-repeat: no-repeat;
background-size: auto;
background-position: center;
}
and add width, height then problem solved.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Vuslat |
