I'm having a difficult time getting react-datepicker to shrink to its parent container within my code. I have found suggestions on giving it a new stylesheet here, but I'm not sure what is the recommended way for styling a pre-made react component. Here is my code block:
<Card style={{height: '96%'}}>
<CardHeader>
Refine By:
</CardHeader>
<CardBody>
<h6>Release Date Range:</h6>
<Row>
<Col>
<div style={{paddingBottom: 10,width:'100%',display:'block',backgroundColor:'red'}}>
<DatesForm dateFilter={this.state.dateFilter} logDates={this.logDates}
type={'start'} updateTable={this.filterData} style={{width:'100%'}}/>
</div>
</Col>
<Col>
<div style={{paddingBottom: 20}}>
<DatesForm dateFilter={this.state.dateFilter} logDates={this.logDates}
type={'end'} updateTable={this.filterData}
style={{width:'100%'}}/>
</div>
</Col>
</Row>
</CardBody>
</Card>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.6.3/umd/react.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.6.3/umd/react-dom.production.min.js"></script>