The cookies table is cut off on a phone, hiding how long each cookie lasts
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 85/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- css, next.js, typescript
- Área
- frontend
Línea de trabajo
Abre src/app/(legal)/cookies/page.tsx y añade overflow-wrap:anywhere a las celdas td de la columna Name para que la tabla quepa en el cuadro. Ejecuta pnpm lint && pnpm typecheck && pnpm knip && pnpm test para confirmar. Hecho cuando a 390×844 la tabla completa es legible sin desplazamiento lateral y a 1280px se ve igual.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 19
- Forks
- 4
- Merge medio
- 21 h 17 min
- PR fusionados (30 d)
- 205
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de richshaw/OpenSignup
-
A New signup description with line breaks can pass the form, then be refused as too longPosiblemente ocupada @richshaw la tomó hace 3 días. Abiertobug pipeline:building pipeline:ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
richshaw/OpenSignup#722 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement pipeline:proposed pipeline:ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
richshaw/OpenSignup#654 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 3/5 Medio día Aptitud para principiantes 62/100
richshaw/OpenSignup#770 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Magic Compose's reading screen quotes the description in a blue box that no other screen usesPosiblemente ocupada @richshaw la tomó hace 2 días. Abiertoenhancement pipeline:building pipeline:ux
Dificultad 3/5 1-2 días Aptitud para principiantes 75/100
richshaw/OpenSignup#751 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement pipeline:proposed pipeline:ux
Dificultad 3/5 1-2 días Aptitud para principiantes 75/100
richshaw/OpenSignup#750 ·
Los mantenedores suelen responder en 1 día
Todos los issues de richshaw/OpenSignup
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
formbricks/formbricks#9918 ·
Los mantenedores suelen responder en 1 día
-
Chat: Resize question overlayAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
thecodacus/pithagoras#364 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
openclimatefix/quartz-frontend#823 ·
Los mantenedores suelen responder en 4 días
-
area:agent-manager community needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
`contacts.create` posts to `/audiences/undefined/contacts` when `audienceId` is undefinedPosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
resend/resend-node#1176 ·
Los mantenedores suelen responder en 1 día