fix: workflow header (#25411)

This commit is contained in:
lyzno1 2025-09-09 15:34:15 +08:00 committed by GitHub
parent b433322e8d
commit 249b62c9de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,9 +11,10 @@ const EditingTitle = () => {
const draftUpdatedAt = useStore(state => state.draftUpdatedAt)
const publishedAt = useStore(state => state.publishedAt)
const isSyncingWorkflowDraft = useStore(s => s.isSyncingWorkflowDraft)
const maximizeCanvas = useStore(s => s.maximizeCanvas)
return (
<div className='system-xs-regular flex h-[18px] items-center text-text-tertiary'>
<div className={`system-xs-regular flex h-[18px] min-w-[300px] items-center whitespace-nowrap text-text-tertiary ${maximizeCanvas ? 'ml-2' : ''}`}>
{
!!draftUpdatedAt && (
<>