Skip to content

Commit 616ec37

Browse files
fix: align EPG program blocks with time header (#47)
1 parent 6834849 commit 616ec37

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,12 +901,12 @@ video::cue {
901901
}
902902

903903
.epg-time-slot {
904-
min-width: 200px;
905904
padding: var(--space-sm) var(--space-md);
906905
text-align: center;
907906
font-size: 0.875rem;
908907
color: var(--color-text-muted);
909908
border-right: 1px solid var(--color-border);
909+
flex-shrink: 0;
910910
}
911911

912912
.epg-channel-row {

public/js/components/EpgGuide.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class EpgGuide {
1717
this.programmes = [];
1818
this.currentDate = new Date();
1919
this.timeOffset = 0; // Hours offset from now
20-
this.pixelsPerMinute = 3.5; // Width scaling
20+
this.pixelsPerMinute = 6.67; // Width scaling (30min = 200px)
2121
this.favorites = new Set(); // Set<"sourceId:channelId">
2222
this.selectedGroup = 'Favorites'; // Default to Favorites
2323

0 commit comments

Comments
 (0)