fix: SSE ping rows match existing table row style
This commit is contained in:
parent
a681833d8d
commit
037013b564
|
|
@ -369,7 +369,7 @@
|
||||||
? '<span class="text-green-400">Up</span>'
|
? '<span class="text-green-400">Up</span>'
|
||||||
: '<span class="text-red-400">Down</span>';
|
: '<span class="text-red-400">Down</span>';
|
||||||
const tr = document.createElement('tr');
|
const tr = document.createElement('tr');
|
||||||
tr.className = 'border-b border-gray-800 fade-in-row';
|
tr.className = 'hover:bg-gray-800/50';
|
||||||
tr.innerHTML = `
|
tr.innerHTML = `
|
||||||
<td class="px-4 py-2">${upBadge}</td>
|
<td class="px-4 py-2">${upBadge}</td>
|
||||||
<td class="px-4 py-2 text-gray-300">${ping.status_code ?? '—'}</td>
|
<td class="px-4 py-2 text-gray-300">${ping.status_code ?? '—'}</td>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue