Expand card to full grid width while editing

Both the link and prompt edit forms were squeezed into a single grid
column, making the summary/prompt textarea cramped. Add a
.card-edit-wide class (grid-column: 1 / -1) applied to the edit
partial's root element so it spans all columns instead, and lay out
category/tags side by side in the prompt edit form to use the extra
width. Also gives the prompt content textarea more rows (6 -> 12)
since there's now room for it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Erik Thiele
2026-07-30 15:22:48 +02:00
parent 11eb770c8b
commit 84b6ca99ae
3 changed files with 19 additions and 16 deletions

View File

@@ -93,6 +93,8 @@
#links, #prompts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
#links > .panel, #prompts > .panel { margin-bottom: 0; }
#links > #empty-state, #prompts > #empty-state { grid-column: 1 / -1; }
/* Beim Bearbeiten mehr Platz geben: Karte spannt über alle Spalten. */
.card-edit-wide { grid-column: 1 / -1; }
.link-card { display: flex; flex-direction: column; }
.link-card.needs-review { border-color: #ca8a04; }