Skip to content

Commit

Permalink
fix: Datepicker Style Malfunction Issue. Fixes #11476 (#11480)
Browse files Browse the repository at this point in the history
Signed-off-by: zel0rd <[email protected]>
  • Loading branch information
zel0rd committed Aug 1, 2023
1 parent eaa8d9c commit ce9e50c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@
background-color: transparent;
border: 0;
}

.wf-filters-container__content {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react';
import DatePicker from 'react-datepicker';
import 'react-datepicker/dist/react-datepicker.css';
import * as models from '../../../../models';
import {WorkflowPhase} from '../../../../models';
import {CheckboxFilter} from '../../../shared/components/checkbox-filter/checkbox-filter';
Expand Down Expand Up @@ -96,7 +97,7 @@ export class WorkflowFilters extends React.Component<WorkflowFilterProps, {}> {
</div>
<div className='columns small-5 xlarge-12'>
<p className='wf-filters-container__title'>Started Time</p>
<div>
<div className='wf-filters-container__content'>
<DatePicker
selected={this.props.minStartedAt}
onChange={date => {
Expand All @@ -114,7 +115,7 @@ export class WorkflowFilters extends React.Component<WorkflowFilterProps, {}> {
<i className='fa fa-times-circle' />
</a>
</div>
<div>
<div className='wf-filters-container__content'>
<DatePicker
selected={this.props.maxStartedAt}
onChange={date => {
Expand Down

0 comments on commit ce9e50c

Please sign in to comment.