Skip to content

Commit

Permalink
feat: Add hover underline to bookmark emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwood committed Sep 22, 2024
1 parent 16eebaa commit 88c6a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reitunes-rs/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
let minutes = Math.floor(bookmark.position / 60);
let seconds = Math.floor(bookmark.position % 60);
let timeString = `${minutes}:${seconds.toString().padStart(2, '0')}`;
return `<span class="bookmark-emoji cursor-pointer mr-1 rounded" data-position="${bookmark.position}" data-row-id="${cell.getRow().getData().id}" title="${timeString}">
return `<span class="bookmark-emoji cursor-pointer hover:underline decoration-solarized-blue decoration-2 rounded" data-position="${bookmark.position}" data-row-id="${cell.getRow().getData().id}" title="${timeString}">
${bookmark.emoji || '🔖'}
</span>`;
}).join('');
Expand Down

0 comments on commit 88c6a9a

Please sign in to comment.