fix: align EPG program blocks with time header (#47)

This commit is contained in:
Trevor Mears
2026-01-13 13:00:47 -08:00
parent 6834849cad
commit 616ec37a93
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "nodecast-tv", "name": "nodecast-tv",
"version": "1.4.0", "version": "1.4.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
+1 -1
View File
@@ -901,12 +901,12 @@ video::cue {
} }
.epg-time-slot { .epg-time-slot {
min-width: 200px;
padding: var(--space-sm) var(--space-md); padding: var(--space-sm) var(--space-md);
text-align: center; text-align: center;
font-size: 0.875rem; font-size: 0.875rem;
color: var(--color-text-muted); color: var(--color-text-muted);
border-right: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
flex-shrink: 0;
} }
.epg-channel-row { .epg-channel-row {
+1 -1
View File
@@ -17,7 +17,7 @@ class EpgGuide {
this.programmes = []; this.programmes = [];
this.currentDate = new Date(); this.currentDate = new Date();
this.timeOffset = 0; // Hours offset from now 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.favorites = new Set(); // Set<"sourceId:channelId">
this.selectedGroup = 'Favorites'; // Default to Favorites this.selectedGroup = 'Favorites'; // Default to Favorites