vienalatina/apps
Claude 5cc1630d6a
The calendar is a month again, at every width
A phone showed a column of thirty-one dates. That was my answer to a
seven-column grid being unreadable at 390px, and it stopped being a
calendar: you could not see that the 24th was a Saturday without
counting, and a month you cannot see the shape of is a list.

It is seven columns now at 320, 390 and 1280, measured rather than
reasoned about. Below 640px the cells are about 50px, the titles come
out of them, and a day with something in it shows a dot per event and
links to that day's block in a list under the grid. An anchor, so it
needs no script and cannot fail under the CSP.

It is also an <ol> on a grid rather than a <table>, and that is the
actual fix. A table brings tbody/tr/td with it, so every phone rule had
to name an element to undo them — and `.cal td` at (0,1,1) outranks
`.cal__pad` at (0,1,0), which is how an empty month came to draw four
blank boxes and nothing else. A grid has nothing to undo, which is why
the public agenda has never had the bug. The three CSS guards are
retargeted accordingly, and the padding-cell one is inverted: a pad is
no longer hidden, it is what puts the 1st under its own weekday.

Two more from the same screenshots:

The month arrows. `← Anterior / noviembre 2026 / Siguiente →` was three
runs of text in a flex row that could not wrap, so at 320px the next
month was simply unreachable. Two 44px circles with the label between
them, wrapping, both inside the viewport at every width.

Links leaving their card. `profiles.clean_links` accepts a 500-character
label and a URL is one word, so a bio ran to 519px on a 390px screen.
`.rich` — the box the text is typed into — has broken long words since
the editor shipped; the places that show what was typed did not. Both
the before and the after are measured in the browser, not asserted from
the stylesheet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-13 18:05:31 +00:00
..
board The calendar is a month again, at every width 2026-10-13 18:05:31 +00:00