diff --git a/client/src/features/info/Info.module.css b/client/src/features/info/Info.module.css index fc8fb38d7..c6c63793d 100644 --- a/client/src/features/info/Info.module.css +++ b/client/src/features/info/Info.module.css @@ -19,16 +19,30 @@ padding: 0; margin: 0; font-size: 0.9em; - color: #aaa; + color: #ccc; display: flex; justify-content: space-between; } -.label { +.label, +.emptyLabel { padding: 0; margin: 0; font-size: 0.9em; - color: #ccc; +} + +.label { + font-size: 0.9em; + color: #aaa; +} + +.label::after { + content: ': '; +} + +.emptyLabel { + font-size: 0.8em; + color: #555; } .notes { diff --git a/client/src/features/info/InfoTitle.jsx b/client/src/features/info/InfoTitle.jsx index a6e8a46cb..31759057e 100644 --- a/client/src/features/info/InfoTitle.jsx +++ b/client/src/features/info/InfoTitle.jsx @@ -7,6 +7,12 @@ export default function InfoTitle(props) { const [collapsed, setCollapsed] = useState(false); const { title, data } = props; + + const noTitl = data.title == null || data.title === ''; + const noPres = data.presenter == null || data.presenter === ''; + const noSubt = data.subtitle == null || data.subtitle === ''; + const noNote = data.note == null || data.note === ''; + return (