const classNames = [
'episodes-item',
'd-flex',
- 'align-items-start',
+ 'align-items-stretch',
'my-3',
'p-2',
'border',
<div className="episode-start me-3 fs-4 text-end">
{t('schedule.startTime', { date: new Date(episode.start) })}
</div>
- <div className="flex-fill">
+ <div className="d-flex flex-column flex-fill">
<div className="d-flex align-items-start justify-content-between">
<div>
{episode.title ?
{episode.title}
</div>
: null}
- {episode.event ?
- <div className="episode-event">
- {episode.event.title}
+ {episode.comment ?
+ <div className="episode-comment">
+ {episode.comment}
</div>
: null}
</div>
{(episode.crew && episode.crew.length)
|| canApplyForEpisode(user, episode, 'commentary')
|| canApplyForEpisode(user, episode, 'tracking') ?
- <Crew episode={episode} onApply={onApply} />
+ <div className="mb-3">
+ <Crew episode={episode} onApply={onApply} />
+ </div>
+ : null}
+ {episode.event ?
+ <div className="episode-event mt-auto">
+ {episode.event.title}
+ </div>
: null}
</div>
</div>;
episode: PropTypes.shape({
channels: PropTypes.arrayOf(PropTypes.shape({
})),
+ comment: PropTypes.string,
crew: PropTypes.arrayOf(PropTypes.shape({
})),
event: PropTypes.shape({