feat(KB-240): move spec edit button to top of task detail modal
- Relocate Edit button from bottom to top of spec section - Improves discoverability by showing edit action before prompt content - Adjust margin from marginTop to marginBottom for proper spacing
This commit is contained in:
@@ -756,6 +756,13 @@ export function TaskDetailModal({
|
||||
)}
|
||||
</div>
|
||||
<div className="detail-section">
|
||||
{!isEditingSpec && (
|
||||
<div style={{ marginBottom: "12px" }}>
|
||||
<button className="btn btn-sm" onClick={enterSpecEditMode}>
|
||||
Edit
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
{isEditingSpec ? (
|
||||
<div className="spec-editor-edit-mode">
|
||||
<textarea
|
||||
@@ -824,13 +831,6 @@ export function TaskDetailModal({
|
||||
) : (
|
||||
<div className="detail-prompt">(no prompt)</div>
|
||||
)}
|
||||
{!isEditingSpec && (
|
||||
<div style={{ marginTop: "12px" }}>
|
||||
<button className="btn btn-sm" onClick={enterSpecEditMode}>
|
||||
Edit
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div className="detail-section">
|
||||
<h4>Attachments</h4>
|
||||
|
||||
Reference in New Issue
Block a user