All tasks tab: match the new-card form layout used everywhere else

Was the stacked .form pattern (visible "New card" label above a
full-width input). Now .kanban__new, same as the kanban columns and
sidebar inbox: compact field + placeholder/aria-label in place of the
visible label, on one line with the icon button. Kept form--new-card
for the border-top separator above it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-05 00:32:50 +01:00
co-authored by Claude Sonnet 5
parent e55641bcba
commit 4cd59234e2
+10 -5
View File
@@ -206,11 +206,16 @@ async function onCreateInColumn(column: Column) {
/> />
</ul> </ul>
<form class="form form--new-card" @submit.prevent="onCreate"> <form class="kanban__new form--new-card" @submit.prevent="onCreate">
<label> <input
<span>New card</span> v-model="newText"
<input v-model="newText" class="field" type="text" maxlength="1000" required /> class="field field--compact"
</label> type="text"
maxlength="1000"
required
placeholder="New card"
aria-label="New card"
/>
<button <button
type="submit" type="submit"
class="btn-icon" class="btn-icon"