From 616ec37a938774bd1e3a8b971e59a14676f6fc7c Mon Sep 17 00:00:00 2001 From: Trevor Mears Date: Tue, 13 Jan 2026 13:00:47 -0800 Subject: [PATCH] fix: align EPG program blocks with time header (#47) --- package-lock.json | 2 +- public/css/main.css | 2 +- public/js/components/EpgGuide.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f14a52..7bd3beb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nodecast-tv", - "version": "1.4.0", + "version": "1.4.1", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/public/css/main.css b/public/css/main.css index d22c9bf..0ac22db 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -901,12 +901,12 @@ video::cue { } .epg-time-slot { - min-width: 200px; padding: var(--space-sm) var(--space-md); text-align: center; font-size: 0.875rem; color: var(--color-text-muted); border-right: 1px solid var(--color-border); + flex-shrink: 0; } .epg-channel-row { diff --git a/public/js/components/EpgGuide.js b/public/js/components/EpgGuide.js index adeab9c..6b27c87 100644 --- a/public/js/components/EpgGuide.js +++ b/public/js/components/EpgGuide.js @@ -17,7 +17,7 @@ class EpgGuide { this.programmes = []; this.currentDate = new Date(); this.timeOffset = 0; // Hours offset from now - this.pixelsPerMinute = 3.5; // Width scaling + this.pixelsPerMinute = 6.67; // Width scaling (30min = 200px) this.favorites = new Set(); // Set<"sourceId:channelId"> this.selectedGroup = 'Favorites'; // Default to Favorites