diff --git a/apps/client/src/features/rundown/rundown-header/RundownHeader.module.scss b/apps/client/src/features/rundown/rundown-header/RundownHeader.module.scss index 3c7f81ca1..6f813fdff 100644 --- a/apps/client/src/features/rundown/rundown-header/RundownHeader.module.scss +++ b/apps/client/src/features/rundown/rundown-header/RundownHeader.module.scss @@ -58,24 +58,19 @@ } } -.controlGroup { +/** inner toggle row when the pill also holds a trailing element (e.g. info icon) */ +.segments { display: flex; align-items: center; - gap: 0.375rem; -} - -.groupLabel { - color: $gray-400; - font-size: calc(1rem - 3px); - font-weight: 600; - text-transform: uppercase; - letter-spacing: 0.02em; - white-space: nowrap; + gap: 2px; } .infoIcon { display: flex; align-items: center; + height: calc(2rem - 4px); // match .radioButton height + padding-inline: 0.4rem; + border-left: 1px solid $gray-1000; color: $gray-400; font-size: calc(1rem + 1px); cursor: help; diff --git a/apps/client/src/features/rundown/rundown-header/RundownHeader.tsx b/apps/client/src/features/rundown/rundown-header/RundownHeader.tsx index 88399a5d9..68e7f53ca 100644 --- a/apps/client/src/features/rundown/rundown-header/RundownHeader.tsx +++ b/apps/client/src/features/rundown/rundown-header/RundownHeader.tsx @@ -75,47 +75,40 @@ function RundownHeader({ isExtracted, viewMode, setViewMode }: RundownHeaderProp return ( {showRunEditToggle && ( -
- Mode - - } value={AppMode.Run} className={style.radioButton} />} - > - Run - - } value={AppMode.Edit} className={style.radioButton} />} - > - Edit - - -
- )} - -
- View - + } value={RundownViewMode.List} className={style.radioButton} />} + text='Live playback view with auto-follow' + render={} value={AppMode.Run} className={style.radioButton} />} > - List + Run } value={RundownViewMode.Table} className={style.radioButton} />} + text='Manual editing without playback automation' + render={} value={AppMode.Edit} className={style.radioButton} />} > - Table + Edit -
+ )} + + + } value={RundownViewMode.List} className={style.radioButton} />} + > + List + + } value={RundownViewMode.Table} className={style.radioButton} />} + > + Table + + {showOffsetToggle && ( -
- Offset - +
+ } value={OffsetMode.Absolute} className={style.radioButton}> Absolute