Make host link click target larger on hosts listings page

In effect, make the whole table cell a link.
This commit is contained in:
2025-11-02 10:38:05 -05:00
parent 48fbd272e4
commit 7a02c7b1c1
2 changed files with 10 additions and 3 deletions

View File

@@ -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);

View File

@@ -23,9 +23,8 @@
<tr class="lane">
<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>
<td><strong><!--% host.host %--></strong><br>
Host ID: <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(host.hostid) %-->.html"><!--% host.hostid %--></a></td>
<td><a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(host.hostid) %-->.html"><strong><!--% host.host %--></strong><br>
Host ID: <!--% host.hostid %--></a></td>
<td><!--% host.license %--></td>
<td><!--% host.date %--></td>
</tr><!--% host_cnt = host_cnt + 1 %-->