vienalatina/apps/board/templates
Claude 59b595170f
A calendar a phone can read, and tap targets a thumb can hit
The private calendar rendered as six hundred pixels of nothing on a phone.
The cause was two adjacent rules in board.css with opposite outcomes:

    .cal, .cal tbody, .cal tr, .cal td { display: block }   /* (0,1,1) */
    .cal__pad { display: none }                             /* (0,1,0) */
    .cal__day:not(:has(.cal__event)) { display: none }      /* (0,2,0) */

`.cal td` outranks `.cal__pad`, so every cell belonging to a neighbouring
month stayed on screen as a 92px empty box; `.cal__day:not(:has(…))`
outranks `.cal td`, so every real day disappeared. A month with no events
drew four blank boxes and nothing else, with correct HTML throughout —
which is why reading the file looked right and no test could see it.

Both calendars are now a column of every day of the month below 640px,
with the weekday beside the number (the column header is hidden there),
the days carrying something standing out, and a line saying so when the
month is empty. The public agenda gets the same shape deliberately: the
private calendar lists the public events, and a member moves between the
two. Every rule that decides `display` now names its cell's own class.

Measured rather than reasoned about, in headless Chromium at 320 and 390
across all 22 members-area screens and the public site in three languages:

  - padding cells 0px tall, 31 of 31 days drawn, no horizontal overflow
  - the ☰ ran off the right edge of a 320px Portuguese home page, because
    «Comunidade» is three letters longer than «Comunidad»; the bar now
    gives way at 360px
  - the navigation links were 37x17, the calendar's + was 7x15, the footer
    links 16px tall. A `pointer: coarse` block in each stylesheet raises
    them to 44, padding only, so the desktop is untouched. Links inside a
    sentence are left alone, as WCAG exempts them.

Registro de actividad and Contenido stop being a sideways-scrolling table
on a phone and stack one card per row, the two columns that do not
describe themselves labelled from `data-label`.

Guards: three stylesheet tests that compute specificity and run the
cascade for a padding cell, a day cell and the weekday label, in both
stylesheets — each verified by putting the shipped rules back. Plus three
request-level tests: an empty month says so and still draws its 31 days,
a month with events does not claim to be empty, and every day carries the
right weekday.

Members area only to deploy — no migration, no schema change — except the
agenda and the stylesheet, which reach the site through the pipeline.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-06 18:41:56 +00:00
..
_attachments.html Let members post pictures, and back them up 2026-09-28 09:02:18 +00:00
_person.html Private messages live on the person, not in a tab 2026-10-03 20:12:16 +00:00
_reaction.html Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
activity.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
base.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
brand_form.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
calendar.html A calendar a phone can read, and tap targets a thumb can hit 2026-10-06 18:41:56 +00:00
comment_form.html The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
content_form.html A phone can use this site, and the way in is a button 2026-10-03 21:04:13 +00:00
content_list.html A calendar a phone can read, and tap targets a thumb can hit 2026-10-06 18:41:56 +00:00
error.html One dashboard, five sections, and a moderation queue 2026-09-30 11:09:55 +00:00
event_form.html Two calendars: one for everybody, one for the members 2026-10-03 09:53:54 +00:00
event.html A phone can use this site, and the way in is a button 2026-10-03 21:04:13 +00:00
gestion.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
home.html Private messages live on the person, not in a tab 2026-10-03 20:12:16 +00:00
identity_form.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
login.html One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
media.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
member_created.html One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
member_new.html One dashboard, five sections, and a moderation queue 2026-09-30 11:09:55 +00:00
member.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
members.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
profile_edit.html The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
profile.html Style the profile page, and drop the step before writing 2026-09-29 14:16:25 +00:00
recover.html Refuse before the form, not after the password 2026-09-25 19:20:44 +00:00
set_password.html Refuse before the form, not after the password 2026-09-25 19:20:44 +00:00
status.html Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
submission_form.html A phone can use this site, and the way in is a button 2026-10-03 21:04:13 +00:00
submission.html A phone can use this site, and the way in is a button 2026-10-03 21:04:13 +00:00
submissions.html Private messages live on the person, not in a tab 2026-10-03 20:12:16 +00:00
thread_form.html The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
thread.html Private messages live on the person, not in a tab 2026-10-03 20:12:16 +00:00
threads.html Private messages live on the person, not in a tab 2026-10-03 20:12:16 +00:00