Skip to content

Commit

Permalink
Make sure the run date is readable (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Jun 28, 2024
1 parent 1938716 commit da10450
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions server/public/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ footer {
.tabs a {
color: #d3d3d3;
font-weight: 700;
}
td.run-date {
white-space: nowrap;
}
2 changes: 1 addition & 1 deletion server/views/search.pug
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ block content
td
- let slugOnClick = `addToSearch('slug:${test.slug}')`;
a(role='button' onclick=slugOnClick) #{test.slug}
td #{test.run_date ? dayjs(test.run_date).format(nconf.get('dateformat')): ''}
td.run-date #{test.run_date ? dayjs(test.run_date).format(nconf.get('dateformat')): ''}
td
- let locationOnClick = 'addToSearch(\'location:' + test.location + '\')';
a(role='button' onclick=locationOnClick) #{test.location}
Expand Down

0 comments on commit da10450

Please sign in to comment.