From 126e31403e644c1c41482c3b10208b4a7d6e1a1c Mon Sep 17 00:00:00 2001 From: Carlos Valente <34649812+cpvalente@users.noreply.github.com> Date: Wed, 13 Sep 2023 21:51:24 +0200 Subject: [PATCH] style tweaks (#524) * style: allow 2 rows in block title * fix: accidental change to next and progress bar --- apps/client/src/common/hooks/useSocket.ts | 2 ++ .../src/features/rundown/event-block/EventBlock.module.scss | 3 +++ 2 files changed, 5 insertions(+) diff --git a/apps/client/src/common/hooks/useSocket.ts b/apps/client/src/common/hooks/useSocket.ts index 6f0f3e520..00b1f2054 100644 --- a/apps/client/src/common/hooks/useSocket.ts +++ b/apps/client/src/common/hooks/useSocket.ts @@ -5,7 +5,9 @@ import { socketSendJson } from '../utils/socket'; export const useRundownEditor = () => { const featureSelector = (state: RuntimeStore) => ({ + playback: state.playback, selectedEventId: state.loaded.selectedEventId, + nextEventId: state.loaded.nextEventId, }); return useRuntimeStore(featureSelector, deepCompare); diff --git a/apps/client/src/features/rundown/event-block/EventBlock.module.scss b/apps/client/src/features/rundown/event-block/EventBlock.module.scss index 783dc4055..aa57c8d73 100644 --- a/apps/client/src/features/rundown/event-block/EventBlock.module.scss +++ b/apps/client/src/features/rundown/event-block/EventBlock.module.scss @@ -128,6 +128,9 @@ $skip-opacity: 0.1; .eventTitle { grid-area: title; + overflow: hidden; + max-height: calc(2.5em + 2px); + line-height: 1.25em; } .eventActions {