From c45aa8371ea3939003d7cc1a5b680344e6adb995 Mon Sep 17 00:00:00 2001 From: cottongin Date: Mon, 2 Nov 2026 19:05:19 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20UI=20tweaks=20=E2=80=94=20grid=20gutters?= =?UTF-8?q?,=20default=20switching,=20badge=20position,=20contrast,=20padd?= =?UTF-8?q?ing,=20disclaimer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- src/render/agenda.ts | 7 +++-- src/render/page.ts | 9 +++--- src/render/week-grid.ts | 22 ++++++++------ src/style/css.ts | 63 ++++++++++++++++++++++++++++++----------- 4 files changed, 69 insertions(+), 32 deletions(-) diff --git a/src/render/agenda.ts b/src/render/agenda.ts index 7d46659..ad14f79 100644 --- a/src/render/agenda.ts +++ b/src/render/agenda.ts @@ -64,13 +64,14 @@ export function renderAgenda(shows: Show[], prefs: Preferences): string { html += `
`; html += ``; html += `${startDisplay} โ€“ ${endDisplay}`; - html += `${escapeHtml(show.name)}`; + const agendaExtras: string[] = []; if (prefs.mode === "all" && show.isVcr) { - html += 'VCR'; + agendaExtras.push('VCR'); } if (show.schedule.recurrence === "biweekly") { - html += '(bi-weekly)'; + agendaExtras.push('(bi-weekly)'); } + html += `${escapeHtml(show.name)}${agendaExtras.join("")}`; if (hosts) { html += `${hosts}`; } diff --git a/src/render/page.ts b/src/render/page.ts index 868b458..17dec92 100644 --- a/src/render/page.ts +++ b/src/render/page.ts @@ -54,6 +54,7 @@ export function renderPage(title: string, bodyContent: string, prefs: Preference -
${bodyContent}
+
${bodyContent}