Pull URL closer to hostname in host row

This commit is contained in:
2026-02-26 19:12:44 +07:00
parent b357ccf978
commit c875793314

View File

@@ -561,7 +561,7 @@ function hostRowHTML(host, index, showPin = true) {
<div class="latency-value text-4xl font-bold tabular-nums text-right mt-1" data-host="${index}">
<span class="text-gray-500">---</span>
</div>
<a href="${host.url}" target="_blank" rel="noopener" class="text-xs text-gray-500 truncate block col-span-2">${host.url}</a>
<a href="${host.url}" target="_blank" rel="noopener" class="text-xs text-gray-500 truncate block col-span-2 -mt-2">${host.url}</a>
<div class="status-text text-xs text-gray-500 whitespace-nowrap text-right col-span-2 mt-3" data-host="${index}">waiting...</div>
</div>
<div class="flex-grow sparkline-container rounded overflow-hidden border border-gray-700/30">