diff --git a/packages/apps/backend/src/data-stores/OutputSettingsStore.ts b/packages/apps/backend/src/data-stores/OutputSettingsStore.ts index 99949d0..a760606 100644 --- a/packages/apps/backend/src/data-stores/OutputSettingsStore.ts +++ b/packages/apps/backend/src/data-stores/OutputSettingsStore.ts @@ -7,7 +7,7 @@ export class OutputSettingsStore { // _id: '', // TODO: load these from persistent store upon startup? - fontSize: 10, + fontSize: 7, mirrorHorizontally: false, mirrorVertically: false, @@ -15,8 +15,8 @@ export class OutputSettingsStore { focusPosition: 'center', showFocusPosition: false, - marginHorizontal: 5, - marginVertical: 5, + marginHorizontal: 1, + marginVertical: 1, activeRundownPlaylistId: null, }) diff --git a/packages/apps/client/src/PrompterStyles.css b/packages/apps/client/src/PrompterStyles.css index 79ea868..97a62f4 100644 --- a/packages/apps/client/src/PrompterStyles.css +++ b/packages/apps/client/src/PrompterStyles.css @@ -20,6 +20,14 @@ font-size: var(--prompter-font-size-base); line-height: var(--prompter-line-height); + + /* These are needed to maintain compatibility with Prose-mirror's text layout */ + word-wrap: break-word; + white-space: pre-wrap; + white-space: break-spaces; + -webkit-font-variant-ligatures: none; + font-variant-ligatures: none; + font-feature-settings: 'liga' 0; } .Prompter p { diff --git a/packages/apps/client/src/components/CurrentRundown/CurrentRundown.tsx b/packages/apps/client/src/components/CurrentRundown/CurrentRundown.tsx index be48e92..c2adbc2 100644 --- a/packages/apps/client/src/components/CurrentRundown/CurrentRundown.tsx +++ b/packages/apps/client/src/components/CurrentRundown/CurrentRundown.tsx @@ -37,9 +37,9 @@ const CurrentRundown = observer((): React.JSX.Element => {

-