diff --git a/packages/apps/client/package.json b/packages/apps/client/package.json index 1f1dd10..0296aa3 100644 --- a/packages/apps/client/package.json +++ b/packages/apps/client/package.json @@ -41,6 +41,7 @@ "eventemitter3": "^5.0.1", "mdast-util-directive": "^3.0.0", "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", "micromark-extension-directive": "^3.0.0", "mobx": "^6.10.2", "mobx-react-lite": "^4.0.5", diff --git a/packages/apps/client/src/CurrentRundown/CurrentRundown.module.scss b/packages/apps/client/src/CurrentRundown/CurrentRundown.module.scss new file mode 100644 index 0000000..37f0d18 --- /dev/null +++ b/packages/apps/client/src/CurrentRundown/CurrentRundown.module.scss @@ -0,0 +1,70 @@ +.SegmentLineList { + display: grid; + grid-template-columns: 1fr 3em 4em 2fr 5fr 1fr 1fr; + padding: 0; + margin: 0; + --table-gap-size: 2px; + gap: var(--table-gap-size); +} + +.SegmentContainer { + padding: 0; + margin: 0; + display: contents; +} + +.SegmentIdentifier { + padding: 0; + margin: 0; + overflow: hidden; + text-overflow: ellipsis; +} + +.LineContainer { + padding: 0; + margin: 0; + grid-column: 2 / 8; + display: grid; + grid-template-columns: subgrid; + grid-template-rows: auto; + gap: var(--table-gap-size); +} + +.Line { + grid-column: 1 / 7; + display: grid; + grid-template-columns: subgrid; + gap: var(--table-gap-size); + padding: 0; + margin: 0; +} + +.LineItem { + background: var(--color-dark-2); + overflow: hidden; + text-overflow: ellipsis; +} + +.LineIdentifier { + --dummy: 1; +} + +.LineType { + --dumy: 1; +} + +.LineSlug { + composes: LineItem; +} + +.LineScript { + composes: LineItem; +} + +.LineDuration { + composes: LineItem; +} + +.LineDuration2 { + composes: LineItem; +} diff --git a/packages/apps/client/src/CurrentRundown/CurrentRundown.tsx b/packages/apps/client/src/CurrentRundown/CurrentRundown.tsx index 2f1f97f..9f72f1b 100644 --- a/packages/apps/client/src/CurrentRundown/CurrentRundown.tsx +++ b/packages/apps/client/src/CurrentRundown/CurrentRundown.tsx @@ -4,6 +4,7 @@ import { observer } from 'mobx-react-lite' import { AppStore } from '../stores/AppStore' import { Segment } from './Segment' import { Button } from 'react-bootstrap' +import classes from './CurrentRundown.module.scss' const CurrentRundown = observer((): React.JSX.Element => { const openRundown = AppStore.rundownStore.openRundown @@ -24,9 +25,9 @@ const CurrentRundown = observer((): React.JSX.Element => { Close

-