feat: optimize small screen titlebar styles

This commit is contained in:
codytseng 2024-12-03 22:34:43 +08:00
parent 8e0b91888f
commit d756d8fc2f
22 changed files with 152 additions and 68 deletions

View file

@ -79,7 +79,13 @@ const Content = memo(
if (embeddedNotes.length) {
embeddedNotes.forEach((note, index) => {
const id = note.split(':')[1]
nodes.push(<EmbeddedNote key={`embedded-event-${index}`} noteId={id} />)
nodes.push(
<EmbeddedNote
key={`embedded-event-${index}`}
noteId={id}
className={size === 'small' ? 'mt-1' : 'mt-2'}
/>
)
})
}