refactor: migrate templates to tailwind utilities

This commit is contained in:
2026-04-15 00:07:56 +02:00
parent 01c738588f
commit 0a5f64c604
23 changed files with 374 additions and 1614 deletions

View File

@@ -190,7 +190,7 @@
}
const updateNextAiring = (node: Element, parsed: ParsedBroadcast): void => {
const card = node.closest('.notification-content')
const card = node.closest('[data-notification-content]')
if (!card) {
return
}
@@ -210,7 +210,7 @@
}
const updateNode = (node: Element, localOffsetMinutes: number): void => {
const card = node.closest('.notification-content')
const card = node.closest('[data-notification-content]')
const nextNode = card ? card.querySelector('[data-next-airing]') : null
const structured = parseFromStructuredAttrs(node)