From da104503efe1d59f68b64bb8fb4a078169ff9859 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Fri, 28 Jun 2024 08:31:16 +0200 Subject: [PATCH] Make sure the run date is readable (#45) --- server/public/css/extra.css | 3 +++ server/views/search.pug | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/server/public/css/extra.css b/server/public/css/extra.css index d20ecd2..5b87fb1 100644 --- a/server/public/css/extra.css +++ b/server/public/css/extra.css @@ -15,4 +15,7 @@ footer { .tabs a { color: #d3d3d3; font-weight: 700; +} +td.run-date { + white-space: nowrap; } \ No newline at end of file diff --git a/server/views/search.pug b/server/views/search.pug index 63f01cd..b3587ac 100644 --- a/server/views/search.pug +++ b/server/views/search.pug @@ -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}