1
0

Add position:relative to list item in renderer.js

This commit is contained in:
2025-05-26 11:35:52 +02:00
parent 59403c2952
commit 9df94340ce

View File

@@ -478,7 +478,7 @@ async function startLiveCountdown(folderObj, msLeft) {
// Für random-Winkel (zwischen -10 und +15 Grad, z.B.)
const pawRotate = (Math.random() * 25 - 10).toFixed(1); // -10° bis +15°
return `
<li class="w-full p-3 mb-2 bg-white border border-gray-200 rounded shadow-sm
<li style="position:relative;" class="w-full p-3 mb-2 bg-white border border-gray-200 rounded shadow-sm
${c.hash === head ? 'current-commit' : ''}">
<div class="flex justify-between text-sm text-gray-600 mb-1">
<span>${c.hash}</span>