fix: add close button to TaskModal
All checks were successful
Deploy Web Client / deploy (push) Successful in 35s
All checks were successful
Deploy Web Client / deploy (push) Successful in 35s
This commit is contained in:
parent
6aa5e5d0da
commit
9064a3be12
@ -124,6 +124,7 @@ export default function TaskModal({ task, projectId, projectSlug, onClose, onUpd
|
||||
>
|
||||
{/* Header */}
|
||||
<div className="p-4 md:p-6 border-b border-[var(--border)]">
|
||||
<div className="flex items-start justify-between gap-2 mb-1">
|
||||
{editingTitle ? (
|
||||
<input
|
||||
autoFocus
|
||||
@ -147,7 +148,15 @@ export default function TaskModal({ task, projectId, projectSlug, onClose, onUpd
|
||||
{title}
|
||||
</h2>
|
||||
)}
|
||||
<div className="text-xs text-[var(--muted)] mt-1">{task.key}</div>
|
||||
<button
|
||||
onClick={onClose}
|
||||
className="text-[var(--muted)] hover:text-[var(--fg)] transition-colors text-xl leading-none cursor-pointer shrink-0 mt-1"
|
||||
title="Закрыть"
|
||||
>
|
||||
✕
|
||||
</button>
|
||||
</div>
|
||||
<div className="text-xs text-[var(--muted)]">{task.key}</div>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col md:flex-row">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user