auto-sync: 2026-05-20 23:30:03
This commit is contained in:
@@ -619,13 +619,13 @@ function ProjectActionPopup({ projectId, projectName, onAction, onClose }: {
|
||||
<button onClick={() => onAction('archive', projectId)} style={{
|
||||
display: 'block', width: '100%', textAlign: 'left', padding: '6px 12px',
|
||||
fontSize: 12, border: 'none', background: 'transparent', color: 'var(--fg)',
|
||||
cursor: 'pointer', borderRadius: 4,
|
||||
}}>📦 归档项目</button>
|
||||
cursor: 'pointer', borderRadius: 4, transition: 'background 0.15s',
|
||||
}} onMouseEnter={e => (e.currentTarget.style.background = 'var(--panel2)')} onMouseLeave={e => (e.currentTarget.style.background = 'transparent')}>📦 归档项目</button>
|
||||
<button onClick={() => onAction('delete', projectId)} style={{
|
||||
display: 'block', width: '100%', textAlign: 'left', padding: '6px 12px',
|
||||
fontSize: 12, border: 'none', background: 'transparent', color: '#ff4757',
|
||||
cursor: 'pointer', borderRadius: 4,
|
||||
}}>🗑️ 删除项目</button>
|
||||
cursor: 'pointer', borderRadius: 4, transition: 'background 0.15s',
|
||||
}} onMouseEnter={e => (e.currentTarget.style.background = 'var(--panel2)')} onMouseLeave={e => (e.currentTarget.style.background = 'transparent')}>🗑️ 删除项目</button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user