return <Row className="episode-crew">
{showCommentators ?
- <Col md>
- <div className="fs-5">
+ <Col xs={6} md>
+ <div className="fs-6 fs-md-5">
<Icon.MICROPHONE className="ms-3 me-2" title="" />
{t('episodes.commentary')}
</div>
</Col>
: null}
{showTracker ?
- <Col md>
- <div className="fs-5">
+ <Col xs={6} md>
+ <div className="fs-6 fs-md-5">
<Icon.MOUSE className="ms-3 me-2" title="" />
{t('episodes.tracking')}
</div>
</Col>
: null}
{techies.length ?
- <Col md>
- <div className="fs-5">
+ <Col xs={6} md>
+ <div className="fs-6 fs-md-5">
<Icon.MONITOR className="ms-3 me-2" title="" />
{t('episodes.setup')}
</div>
const classNames = [
'episodes-item',
- 'd-flex',
- 'align-items-stretch',
'my-3',
'p-2',
'border',
const hasPlayers = episode.players && episode.players.length;
return <div className={classNames.join(' ')} style={style}>
- <div className="episode-start me-3 fs-4 text-end">
- {t('schedule.startTime', { date: new Date(episode.start) })}
- </div>
- <div className="d-flex flex-column flex-fill">
- <div className="d-flex align-items-start justify-content-between">
- <div>
- {episode.title || episode.event ?
- <div className="episode-title fs-4">
- {episode.title || episode.event.title}
- </div>
- : null}
- {episode.comment ?
- <div className="episode-comment">
- {episode.comment}
- </div>
- : null}
- </div>
- <div className="episode-channel-links text-end">
- {hasChannels ?
- <Channels
- channels={episode.channels}
- episode={episode}
- onEditRestream={onEditRestream}
- />
- : null}
- {!hasChannels && hasPlayers ?
- <MultiLink players={episode.players} />
- : null}
- {onAddRestream && canRestreamEpisode(user, episode) ?
- <div>
- <Button
- onClick={() => onAddRestream(episode)}
- title={t('episodes.addRestream')}
- variant="outline-secondary"
- >
- <Icon.ADD title="" />
- </Button>
- </div>
- : null}
- </div>
+ <div className="d-flex align-items-stretch">
+ <div className="episode-start me-3 fs-5 fs-md-4 text-end">
+ {t('schedule.startTime', { date: new Date(episode.start) })}
</div>
+ <div className="episode-titlebar">
+ {episode.title || episode.event ?
+ <div className="episode-title fs-5 fs-md-4">
+ {episode.title || episode.event.title}
+ </div>
+ : null}
+ {episode.comment ?
+ <div className="episode-comment">
+ {episode.comment}
+ </div>
+ : null}
+ </div>
+ <div className="episode-channel-links ms-auto text-end">
+ {hasChannels ?
+ <Channels
+ channels={episode.channels}
+ episode={episode}
+ onEditRestream={onEditRestream}
+ />
+ : null}
+ {!hasChannels && hasPlayers ?
+ <MultiLink players={episode.players} />
+ : null}
+ {onAddRestream && canRestreamEpisode(user, episode) ?
+ <div>
+ <Button
+ onClick={() => onAddRestream(episode)}
+ title={t('episodes.addRestream')}
+ variant="outline-secondary"
+ >
+ <Icon.ADD title="" />
+ </Button>
+ </div>
+ : null}
+ </div>
+ </div>
+ <div className="episode-body d-flex flex-column flex-fill">
{hasPlayers ?
<Players players={episode.players} />
: null}
@import '~bootstrap/scss/functions';
-
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
+@import "~bootstrap/scss/utilities";
$body-bg: $gray-800;
$body-color: $gray-200;
$theme-colors: map-merge($theme-colors, $custom-colors);
+$utilities: map-merge($utilities, ("font-size": map-merge(map-get($utilities, "font-size"), (responsive: true))));
+
@import '~bootstrap/scss/bootstrap';