Skip to content

Commit

Permalink
fix(ui): report phase button alignment (#6707)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu Zhao <[email protected]>
  • Loading branch information
tczhao committed Sep 12, 2021
1 parent fd53500 commit 1e31eb8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ui/src/app/reports/components/reports.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,12 @@ export class Reports extends BasePage<RouteComponentProps<any>, State> {
<div className=' columns small-12 xlarge-12'>
<p className='wf-filters-container__title'>Phase</p>
{[NODE_PHASE.SUCCEEDED, NODE_PHASE.ERROR, NODE_PHASE.FAILED].map(phase => (
<label key={phase} style={{marginRight: 10}}>
<input type='radio' checked={phase === this.phase} onChange={() => (this.phase = phase)} style={{marginRight: 5}} />
{phase}
</label>
<div>
<label key={phase} style={{marginRight: 10}}>
<input type='radio' checked={phase === this.phase} onChange={() => (this.phase = phase)} style={{marginRight: 5}} />
{phase}
</label>
</div>
))}
</div>
</div>
Expand Down

0 comments on commit 1e31eb8

Please sign in to comment.