react-datepicker
react-datepicker copied to clipboard
Bug in style
I am with this bug on the style.
How resolve it ?

You can make the container a little bigger using the class:
.react-datepicker-popper { width: 320px; }
The width is just an example, use a size that better fits you
in styled component how would be it ?
Probably you have something like this:
... // Rest of the code
render(){
<SDatePicker className={this.props.className} /*More props*/ />
}
Where the SDatePicker is styled like this:
const SDatePicker = styled(DatePicker)`
& .react-datepicker-popper {
width: 320px;
}
`;
nice