File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
packages/webui/src/client Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ $hold-status-color: $liveline-timecode-color;
1414}
1515
1616.director-screen {
17+ font-family : Roboto Flex ;
18+
1719 .director-screen__header {
1820 display : flex ;
1921 flex-direction : row ;
@@ -45,11 +47,11 @@ $hold-status-color: $liveline-timecode-color;
4547 .director-screen__body__part {
4648 display : grid ;
4749 grid-template :
48- 16 em
50+ 22 em
4951 4fr
5052 6fr / 13vw auto ;
5153 grid-template :
52- 16 em
54+ 22 em
5355 4fr
5456 6fr / #{' min(13vw, 27vh)' } auto ;
5557
@@ -58,7 +60,7 @@ $hold-status-color: $liveline-timecode-color;
5860 grid-column : 1 / -1 ;
5961 text-align : left ;
6062 padding-left : 10px ;
61- font-size : 16 em ;
63+ font-size : 20 em ;
6264 font-weight : 500 ;
6365 line-height : 100% ;
6466 letter-spacing : 0% ;
@@ -75,6 +77,10 @@ $hold-status-color: $liveline-timecode-color;
7577 color : #000 ;
7678 }
7779 }
80+ .director-screen__body__segment__countdown {
81+ float : right ;
82+ margin-right : 10px ;
83+ }
7884
7985 .director-screen__body__rundown-countdown {
8086 grid-row : 2 / -1 ;
Original file line number Diff line number Diff line change @@ -352,7 +352,6 @@ function DirectorScreenRender({
352352
353353 const expectedStart = PlaylistTiming . getExpectedStart ( playlist . timing )
354354 const expectedEnd = PlaylistTiming . getExpectedEnd ( playlist . timing ) || 0
355- const expectedDuration = PlaylistTiming . getExpectedDuration ( playlist . timing )
356355
357356 const overUnderClock = getPlaylistTimingDiff ( playlist , timingDurations ) ?? 0
358357
@@ -394,7 +393,14 @@ function DirectorScreenRender({
394393 live : currentSegment !== undefined ,
395394 } ) }
396395 >
397- { currentSegment ?. name }
396+ < span > { currentSegment ?. name } </ span >
397+ < span className = "director-screen__body__segment__countdown" >
398+ < CurrentPartOrSegmentRemaining
399+ currentPartInstanceId = { playlist . currentPartInfo ?. partInstanceId || null }
400+ heavyClassName = "overtime"
401+ preferSegmentTime = { true }
402+ />
403+ </ span >
398404 </ div >
399405 { currentPartInstance && currentShowStyleBaseId ? (
400406 < >
You can’t perform that action at this time.
0 commit comments