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={{
|
<button onClick={() => onAction('archive', projectId)} style={{
|
||||||
display: 'block', width: '100%', textAlign: 'left', padding: '6px 12px',
|
display: 'block', width: '100%', textAlign: 'left', padding: '6px 12px',
|
||||||
fontSize: 12, border: 'none', background: 'transparent', color: 'var(--fg)',
|
fontSize: 12, border: 'none', background: 'transparent', color: 'var(--fg)',
|
||||||
cursor: 'pointer', borderRadius: 4,
|
cursor: 'pointer', borderRadius: 4, transition: 'background 0.15s',
|
||||||
}}>📦 归档项目</button>
|
}} onMouseEnter={e => (e.currentTarget.style.background = 'var(--panel2)')} onMouseLeave={e => (e.currentTarget.style.background = 'transparent')}>📦 归档项目</button>
|
||||||
<button onClick={() => onAction('delete', projectId)} style={{
|
<button onClick={() => onAction('delete', projectId)} style={{
|
||||||
display: 'block', width: '100%', textAlign: 'left', padding: '6px 12px',
|
display: 'block', width: '100%', textAlign: 'left', padding: '6px 12px',
|
||||||
fontSize: 12, border: 'none', background: 'transparent', color: '#ff4757',
|
fontSize: 12, border: 'none', background: 'transparent', color: '#ff4757',
|
||||||
cursor: 'pointer', borderRadius: 4,
|
cursor: 'pointer', borderRadius: 4, transition: 'background 0.15s',
|
||||||
}}>🗑️ 删除项目</button>
|
}} onMouseEnter={e => (e.currentTarget.style.background = 'var(--panel2)')} onMouseLeave={e => (e.currentTarget.style.background = 'transparent')}>🗑️ 删除项目</button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user