The cookies table is cut off on a phone, hiding how long each cookie lasts
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 85/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- css, next.js, typescript
- Ambito
- frontend
Direzione di ricerca
Apri src/app/(legal)/cookies/page.tsx e aggiungi overflow-wrap:anywhere alle celle td della colonna Name in modo che la tabella entri nella casella. Esegui pnpm lint && pnpm typecheck && pnpm knip && pnpm test per confermare. Fatto quando a 390×844 l'intera tabella è leggibile senza scorrimento orizzontale e a 1280px appare invariata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
On a phone, the "Cookies we set" table on /cookies is wider than its box, and the box clips it. At 390px wide the table needs 419px but its box is 356px, so the Lifetime column is cut off at the right edge. The wrapper div has overflow-hidden, so it can't be swiped either. A participant checking how long a cookie lasts can't read the answer.
The cause is the Name column in src/app/(legal)/cookies/page.tsx: each cell is an unbroken monospace name such as __Secure-authjs.session-token, which sets the column's minimum width, so the table can't shrink to fit.
Fix, in outline
- Let the Name cells break inside a cookie name (
[overflow-wrap:anywhere]orbreak-allon thosetds), so the table fits the box at 390px with all three columns readable. - Keep the box's rounded border. Don't switch to a sideways-scrolling table: the column would still be hidden until someone thinks to swipe.
Watch for
src/app/(legal)/cookies/page.test.tsxcovers the page's text. This changes only layout, so the text and the "Last updated" date stay as they are.- The page has no other table, but
/app/signups/[id]/responseshas one; leave it alone here. - CHANGELOG entry.
Done when
- At 390×844,
/cookiesshows the whole table: Name, Purpose and Lifetime are all readable, and the page has no sideways scroll (document.documentElement.scrollWidthis 390). - At 1280px wide the table looks as it does now.
pnpm lint && pnpm typecheck && pnpm knip && pnpm testpass.
Found by the UX walkthrough, scenario V3, on opensignup-prod main at 651da5b (this repo at 208a077). Checked by measuring the table (419px) and its box (356px, overflow-x: hidden) at 390px wide, against cookies/page.tsx at 208a077; the page was the same before #736.
Generated by Claude Code
- Lingua principale
- TypeScript
- Stelle
- 19
- Fork
- 4
- Merge medio
- 19h 46m
- PR unite (30g)
- 194
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di richshaw/OpenSignup
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
richshaw/OpenSignup#794 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement pipeline:proposed pipeline:ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
richshaw/OpenSignup#654 ·
I maintainer di solito rispondono entro 1 giorno
-
Two breadcrumb pages belong to URLs that always redirect, so they never showForse già presa @richshaw l’ha presa oggi. Apertaenhancement good first issue pipeline:stuck
richshaw/OpenSignup#793 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
A failed "Turn reminders back on" reloads the page with no errorForse già presa @ShahadatTest l’ha presa 1 giorno fa. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
richshaw/OpenSignup#785 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
The Build tab lets a list get a 21st item or one over 60 characters, then rolls it back with a cryptic errorForse già presa @richshaw l’ha presa 1 giorno fa. Apertabug pipeline:building pipeline:ux
richshaw/OpenSignup#784 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di richshaw/OpenSignup
Issue simili
-
needs-area-label
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 2 giorni
-
Website: the hero tip's video play() has no catch, so a refused play is an unhandled rejectionAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
liberation-data/drivine#615 ·
I maintainer di solito rispondono entro 1 giorno
-
backend bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
geolens-io/geolens#3639 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
radius-project/ai-extensions#1196 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100