mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-06 14:59:09 +00:00
style tweaks (#524)
* style: allow 2 rows in block title * fix: accidental change to next and progress bar
This commit is contained in:
@@ -5,7 +5,9 @@ import { socketSendJson } from '../utils/socket';
|
|||||||
|
|
||||||
export const useRundownEditor = () => {
|
export const useRundownEditor = () => {
|
||||||
const featureSelector = (state: RuntimeStore) => ({
|
const featureSelector = (state: RuntimeStore) => ({
|
||||||
|
playback: state.playback,
|
||||||
selectedEventId: state.loaded.selectedEventId,
|
selectedEventId: state.loaded.selectedEventId,
|
||||||
|
nextEventId: state.loaded.nextEventId,
|
||||||
});
|
});
|
||||||
|
|
||||||
return useRuntimeStore(featureSelector, deepCompare);
|
return useRuntimeStore(featureSelector, deepCompare);
|
||||||
|
|||||||
@@ -128,6 +128,9 @@ $skip-opacity: 0.1;
|
|||||||
|
|
||||||
.eventTitle {
|
.eventTitle {
|
||||||
grid-area: title;
|
grid-area: title;
|
||||||
|
overflow: hidden;
|
||||||
|
max-height: calc(2.5em + 2px);
|
||||||
|
line-height: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eventActions {
|
.eventActions {
|
||||||
|
|||||||
Reference in New Issue
Block a user