Wrap status label in a div so that it doesn't vertically stretch with it's parent.

This commit is contained in:
mabashian
2020-11-17 17:05:49 -05:00
parent 76c39e38c0
commit ef1da5d5de

View File

@@ -76,12 +76,12 @@ function WorkflowApprovalListItem({
/> />
<DataListItemCells <DataListItemCells
dataListCells={[ dataListCells={[
<DataListCell key="title" id={labelId}> <DataListCell key="title">
<Link to={`${detailUrl}`}> <Link to={`${detailUrl}`}>
<b>{workflowApproval.name}</b> <b>{workflowApproval.name}</b>
</Link> </Link>
</DataListCell>, </DataListCell>,
<DataListCell key="job" id={labelId}> <DataListCell key="job">
<> <>
<JobLabel>{i18n._(t`Job`)}</JobLabel> <JobLabel>{i18n._(t`Job`)}</JobLabel>
{workflowJob && workflowJob?.id ? ( {workflowJob && workflowJob?.id ? (
@@ -93,7 +93,9 @@ function WorkflowApprovalListItem({
)} )}
</> </>
</DataListCell>, </DataListCell>,
<StatusCell key="status">{getStatus()}</StatusCell>, <StatusCell key="status">
<div>{getStatus()}</div>
</StatusCell>,
]} ]}
/> />
</DataListItemRow> </DataListItemRow>