Fix slightly smaller font of in progress jobs

On the status page the font of in progress jobs is slightly smaller
than the font size of finished or queued jobs. This is caused by the
missing class zuul-job-name when constructing the link.

Change-Id: I8dee14334567227ccca74c45ef393c0e7e6e64c9
This commit is contained in:
Tobias Henkel 2019-03-30 16:28:08 +01:00
parent 5b7c278eb2
commit 95625df196
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2
1 changed files with 2 additions and 2 deletions

View File

@ -243,12 +243,12 @@ class ChangePanel extends React.Component {
const to = (
tenant.linkPrefix + '/stream/' + buildUuid + '?logfile=console.log'
)
name = <Link to={to}>{job.name}</Link>
name = <Link className='zuul-job-name' to={to}>{job.name}</Link>
} else if (job.url.match('stream/')) {
const to = (
tenant.linkPrefix + '/' + job.url
)
name = <Link to={to}>{job.name}</Link>
name = <Link className='zuul-job-name' to={to}>{job.name}</Link>
} else {
name = <a className='zuul-job-name' href={url}>{job.name}</a>
}