improve date picker, allow inline button #15

Merged
bilal.catic merged 2 commits from add-door-lock-charges-screen into master 2019-06-20 19:00:50 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2e12daf1e4 - Show all commits

View File

@@ -89,7 +89,7 @@ class DateRangePicker extends Component {
return ( return (
<Form> <Form>
<Grid stackable columns={inlineButton ? null : 'equals'}> <Grid stackable columns={inlineButton ? null : 'equal'}>
<Grid.Row> <Grid.Row>
<Grid.Column width={inlineButton ? 7 : null}> <Grid.Column width={inlineButton ? 7 : null}>
<label>{startDateLabel}</label> <label>{startDateLabel}</label>

View File

@@ -52,7 +52,7 @@ class PracticeSummaryReport extends Component {
<MemberSelector onMemberSelect={this.onMemberSelectionUpdate.bind(this)} /> <MemberSelector onMemberSelect={this.onMemberSelectionUpdate.bind(this)} />
</Grid.Column> </Grid.Column>
<Grid.Column> <Grid.Column>
<DateRangePicker inlineButton={true} onDatesUpdate={this.onDateRangeUpdate.bind(this)}/> <DateRangePicker inlineButton onDatesUpdate={this.onDateRangeUpdate.bind(this)}/>
</Grid.Column> </Grid.Column>
</Grid.Row> </Grid.Row>
<Grid.Row> <Grid.Row>