I am attempting to adjust the width of the react-datepicker input box and surprisingly have found little information out there and am unable to effect its width. I would just l
To prevent the flex items from shrinking, set the flex shrink factor to 0:
.myContainer .myItem { flex-shrink: 0; }
.myContainer {
display: flex;
flex-wrap: nowrap;
flex-direction: row;
flex: 1 1 0px;
}
.myDatePicker {
width: 100%;
}
The above snippet just works so there MUST be other code interfering with css or scaffolding.