Make host link click target larger on hosts listings page
In effect, make the whole table cell a link.
This commit is contained in:
		@@ -670,12 +670,20 @@ fieldset > table td input[type="radio"] {
 | 
				
			|||||||
	background: var(--background-secondary);
 | 
						background: var(--background-secondary);
 | 
				
			||||||
	color: var(--background-primary);
 | 
						color: var(--background-primary);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					#hosts td:nth-child(2) {
 | 
				
			||||||
 | 
					    display: inline-flex;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
#hosts td:nth-child(-n+2) a {
 | 
					#hosts td:nth-child(-n+2) a {
 | 
				
			||||||
	color: var(--link-secondary);
 | 
						color: var(--link-secondary);
 | 
				
			||||||
 | 
						flex: 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#hosts td:nth-child(-n+2) a:hover {
 | 
					#hosts td:nth-child(-n+2) a:hover {
 | 
				
			||||||
	color: var(--link-secondary-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) {
 | 
					#hosts td:nth-child(2) {
 | 
				
			||||||
	padding: 0.25rem 0 0 8px;
 | 
						padding: 0.25rem 0 0 8px;
 | 
				
			||||||
	width: calc(100% - 90px);	
 | 
						width: calc(100% - 90px);	
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,9 +23,8 @@
 | 
				
			|||||||
	<tr class="lane">
 | 
						<tr class="lane">
 | 
				
			||||||
	<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>
 | 
						<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<td><strong><!--% host.host %--></strong><br>
 | 
							<td><a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(host.hostid) %-->.html"><strong><!--% host.host %--></strong><br>
 | 
				
			||||||
 | 
								Host ID: <!--% host.hostid %--></a></td>
 | 
				
			||||||
			Host ID: <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(host.hostid) %-->.html"><!--% host.hostid %--></a></td>
 | 
					 | 
				
			||||||
		<td><!--% host.license %--></td>
 | 
							<td><!--% host.license %--></td>
 | 
				
			||||||
		<td><!--% host.date %--></td>
 | 
							<td><!--% host.date %--></td>
 | 
				
			||||||
	</tr><!--% host_cnt = host_cnt + 1 %-->
 | 
						</tr><!--% host_cnt = host_cnt + 1 %-->
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user