Skip to content

Commit

Permalink
fix(ui): PR comments for scss and template literals
Browse files Browse the repository at this point in the history
Signed-off-by: stevenbjohnson <[email protected]>
  • Loading branch information
stevenbjohnson committed Dec 9, 2024
1 parent f00a505 commit ed334f9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25em 0;
}

.wf-rows-name > * {
overflow: hidden;
text-overflow: ellipsis;
& > * {
overflow: hidden;
text-overflow: ellipsis;
}
}
8 changes: 4 additions & 4 deletions ui/src/cron-workflows/cron-workflow-row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25em 0;
}

.wf-rows-name > * {
overflow: hidden;
text-overflow: ellipsis;
& > * {
overflow: hidden;
text-overflow: ellipsis;
}
}
8 changes: 4 additions & 4 deletions ui/src/workflow-templates/workflow-template-row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25em 0;
}

.wf-rows-name > * {
overflow: hidden;
text-overflow: ellipsis;
& > * {
overflow: hidden;
text-overflow: ellipsis;
}
}
8 changes: 4 additions & 4 deletions ui/src/workflows/components/workflows-row/workflows-row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25em 0;
}

.wf-rows-name > * {
overflow: hidden;
text-overflow: ellipsis;
& > * {
overflow: hidden;
text-overflow: ellipsis;
}
}
4 changes: 2 additions & 2 deletions ui/src/workflows/components/workflows-row/workflows-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export function WorkflowsRow(props: WorkflowsRowProps) {
</div>
</Link>
<div className='columns small-1'>{wf.metadata.namespace}</div>
<div className={'columns small-1' + (props.displayISOFormatStart ? ' workflows-list__timestamp' : '')}>
<div className={`columns small-1' ${props.displayISOFormatStart ? 'workflows-list__timestamp' : ''}`}>
<Timestamp date={wf.status.startedAt} displayISOFormat={props.displayISOFormatStart} />
</div>
<div className={'columns small-1' + (props.displayISOFormatFinished ? ' workflows-list__timestamp' : '')}>
<div className={`columns small-1' ${props.displayISOFormatFinished ? 'workflows-list__timestamp' : ''}`}>
<Timestamp date={wf.status.finishedAt} displayISOFormat={props.displayISOFormatFinished} />
</div>
<div className='columns small-1'>
Expand Down

0 comments on commit ed334f9

Please sign in to comment.