From 7a02c7b1c193c699e24724c4fe9d95c1da955ff9 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 2 Nov 2025 10:38:05 -0500 Subject: [PATCH] Make host link click target larger on hosts listings page In effect, make the whole table cell a link. --- public_html/css/hpr.css | 8 ++++++++ templates/content-correspondents.tpl.html | 5 ++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index 6b2a3e3..1d9a922 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -670,12 +670,20 @@ fieldset > table td input[type="radio"] { background: var(--background-secondary); color: var(--background-primary); } +#hosts td:nth-child(2) { + display: inline-flex; +} #hosts td:nth-child(-n+2) a { color: var(--link-secondary); + flex: 1; } #hosts td:nth-child(-n+2) a:hover { color: var(--link-secondary-hover); } +#hosts td:nth-child(-n+2) a strong { + display: inline-block; + line-height: 1.5rem; +} #hosts td:nth-child(2) { padding: 0.25rem 0 0 8px; width: calc(100% - 90px); diff --git a/templates/content-correspondents.tpl.html b/templates/content-correspondents.tpl.html index 2bae1e7..3c28550 100644 --- a/templates/content-correspondents.tpl.html +++ b/templates/content-correspondents.tpl.html @@ -23,9 +23,8 @@ -
- - Host ID: +
+ Host ID:
-- 2.43.5