Mobile list cards for signed-in lists at 390px
Use card layouts, not a squeezed table, for every signed-in list at phone width. Each card keeps the sort control, the role check and the row actions of the desktop list, with no horizontal scrolling at 390px or at 360px.
Gap this page closes
Mobile workspace layout states that tables become stacked rows at 640px and below, and that lists become one column. That rule alone does not state which fields a card shows first, how a reader changes the sort on a card list, or where Assign, Approve, Open and Hand off sit on a card. A labelled table row can hide those controls, clip a long source link, or scroll sideways when a row has more than five fields.
| Need on a card list | Generic labelled table row | Per-list card in this page |
|---|---|---|
| Sort choice | Sort stays in a desktop header that is hidden or stacked away | Sort control sits above the cards, in the same order as the desktop list, and reorders the cards |
| Role and status | Role text wraps inside a cell and is easy to miss | Role, status and owner are a meta line near the top of the card, in text and not colour alone |
| Row actions | Actions share a row with fields and can overflow at 390px | Actions sit at the bottom of the card, full width on phone, at least 48px high |
| Long detail | Source body, thread text or approval history stretches the card | Detail sits in a collapsed accordion or opens in the detail view, never in the summary card |
Rules that apply to every card list
Apply every rule on phone and desktop, so the same list has the same order in both places.
- Keep the page heading, the college name, the filters and the count status above the cards. The count status states showing and total, in the same college, assistant, channel and date range as the list.
- Keep the sort control above the cards. It uses the allowlisted sort values for that list from List pagination, sorting, and filtering, and it shows the applied sort. Changing the sort returns to the first page and reorders the cards.
- Show one card per record. Card order is title or main field first, then status and role, then owner or assistant, then dates, then detail, then actions. Do not reorder fields between phone and desktop.
- Show an action only when the signed-in role covers that step. When the role does not cover it, the card names the role that can do it and links to the relevant guide. Do not show a dead button, and the server checks again on every request.
- Keep every tap target at least 44px high, primary actions at least 48px high, field text at least 16px, and focus visible by keyboard. Stack the icon above text on phone.
- Wrap long source links, code and file names inside the card. Never clip them with an ellipsis and never create a sideways scroll region inside a card.
- Keep the empty state in place of the cards, never beside a populated list. Keep the heading and filters visible, and keep focus on the filter control.
Card layout per list
Read only the row for the list you are building. Fields are in card order at 390px. Sort, role and action columns state what must not be lost.
| List | Card fields in order at 390px | Sort preserved | Role and action preserved |
|---|---|---|---|
| Sources | Source title, status, owner office, review date, updated time, source link in detail | Sort control above cards with updated_desc, updated_asc, title_asc, review_date_asc. Default updated_desc | Open, Request review and Hand off as full width actions. Review and approve actions show only for the covering role, otherwise the card names that role |
| Assistants | Assistant name, status, updated time, handoff office in detail | name_asc, updated_desc, updated_asc. Default name_asc | Open, Build or Edit and Test as actions. Publish shows only after approval passes, otherwise the card names the approver role |
| Questions, Ask history and Reports list behind a number | Question title, outcome, assistant, channel, submitted time, source title, source link and last checked date, helpful and not helpful counts | submitted_desc, submitted_asc. Default submitted_desc. Assistant, channel and date range stay above the cards | Open answer, Save with sources, Hand off and Discuss as actions. Full question text opens only with the separate detail permission and is audit logged |
| Unanswered themes, Improve queue | Theme, question count, not answered count, owner office, due date, status | count_desc, updated_desc, due_date_asc. Default count_desc, so the largest gap stays first on the card list | Assign owner, Add source and Mark resolved as actions. A theme is resolved only when the approved change is linked, and the card states that rule |
| Handoffs and Activity | Thread title or reference number, status, owner, created time, office contact in detail | created_desc, created_asc. Default created_desc | Reply, Reassign and Close as actions for the assigned role only. The queue item stays visible when a reminder is off |
| Personal history and personal saved answers | Question title, saved state, assistant, outcome, submitted time, source title and last checked date where saved | submitted_desc, submitted_asc, last_opened_desc where offered. Default submitted_desc | Open, Copy with sources, Re-ask, Unsave and Delete for the owner only, scoped to tenant and owner from the session |
| Shared collections and study sets | Collection or set title, position, item count, owner office or workspace label, updated time | position_asc for items in a collection, otherwise updated_desc, updated_asc, title_asc. Position is never re-sorted by title on the server | Open, Add item, Reorder and Export for the covering role only. Export uses the own-history path, not the report export permission |
| Workspace members, Team list | Person name, email as stored, role in canonical form, active or invited status, workspace name | Name order as listed in Team, with active members before invited members where the screen states that order. Do not sort by role alone where that would hide an invited approver | Change role, Invite and Remove as actions for a college administrator only. An invited entry is not an active role, and the card states that in text |
System view is not a card list. It shows counts grouped by college only, with no question text, no saved item text and no member detail mixed across colleges.
Accordion detail on a card
Detail that is not needed to scan the list stays out of the summary card. Use one pattern for every list.
What stays on the summary card
- Title, status, role, owner or assistant, dates, counts and one primary action
- Source title, source link and last checked date for an answer card, each on its own line
- Handoff office name, phone, email, hours and location for a not-known answer, each on its own line
What goes in the accordion or detail view
- Source body, approval history, test notes, rating comments, discussion replies and file attachments
- Full question text and full answer text, opened only through Open or the detail view
- Member role history, invite history and Activity entries for a Team card
- A collapsed accordion shows one control named Show source detail or Show thread, with aria-expanded, at least 44px high, and focus returned to that control on close with Escape
- Expanding an accordion never reorders the cards and never changes the count status or the applied sort
- Opening a detail view keeps the same college, assistant, channel and date range filters, and the back action returns to the same card position
Try the pattern on this page
Example only. Nothing here is sent to a server. The sort control above the cards reorders the same three example cards, and actions reorder, pin and delete stay on each card.
Showing 3 of 3 example cards. Sort applied: Title A to Z.
Copy-ready CSS for card lists
Copy this block into the signed-in app stylesheet. It changes layout only, keeps the existing tab and navigation names, and adds no long-lived caching to a file whose name does not change between versions.
.list-cards{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:12px}
.list-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px;min-width:0;overflow-wrap:break-word}
.list-card h3{margin:0 0 6px}
.card-meta{color:var(--muted);font-size:.9rem;margin:4px 0}
.card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.card-actions .button{min-height:48px;flex:1 1 auto}
.card-detail{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.card-detail a{overflow-wrap:anywhere;word-break:break-word}
.list-sort{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.list-sort .field{flex:1 1 200px}
@media (max-width:768px){.list-card{padding:16px}.card-actions .button{flex:1 1 100%;width:100%}}
@media (max-width:390px){.list-card{padding:14px}.card-actions .button{min-height:48px;width:100%}.list-sort .field{flex:1 1 100%}}
html,body{max-width:100%;overflow-x:hidden}
input,select,textarea{font-size:16px;min-height:44px;max-width:100%}
a:focus-visible,button:focus-visible{outline:3px solid #1E40AF;outline-offset:2px}
Behaviour rules that go with the CSS
- Render the sort control, the count status and the filters above the card list on every page, in that order
- At 768px and below, stack card actions full width. At 390px and below, keep one column, keep the sort control full width, and keep every action at least 48px high
- Never use a table with more than five columns on a card list at 390px. Use the card order in the table above instead of a sideways scroll region
- When a role lacks an action, keep the card and replace that action with text naming the role that can do it, plus a link to its guide
Checks before you ship a card list change
Run each check at 360px, 390px, 768px and 1024px, with tap, keyboard and screen reader.
- At 390px no page scrolls sideways, no card text is clipped, and every source link wraps inside its card
- Each sort value in the table above reorders the cards and shows the applied sort, with the count status unchanged in total
- Each role sees only actions that role covers, and a role without an action sees the named role and the guide link instead of a dead button
- Each primary action is at least 48px high, each other control at least 44px high, focus stays visible, and keyboard order matches visual order top to bottom
- An empty list shows heading, filters, count status and one empty state, with focus on the filter control
- Opening detail from a card keeps the same filters and returns focus to the same card, and test sessions are labelled as test and excluded from counts
Next guide
Keep headings, actions and whitespace consistent on home, question list and question detail.