diff --git a/mobile/templates/mobile/_hero_rsvp.html b/mobile/templates/mobile/_hero_rsvp.html index e34a336..1a494c9 100644 --- a/mobile/templates/mobile/_hero_rsvp.html +++ b/mobile/templates/mobile/_hero_rsvp.html @@ -21,26 +21,31 @@ Neither button is colour-coded (no green "In") -- nobody has answered yet at this point (that's the whole reason for the "are you in?" prompt), so a green default would misleadingly read as an already-recorded answer. - Both are the same neutral steel tone with a shared border/white-Text - treatment for readability against the photo backdrop, and via min-w-0, - exactly the same width -- flex-1 alone doesn't guarantee that once one - button's label is longer ("Out" vs "In"): flex items default to - min-width:auto, so the longer label's own intrinsic width can win a - bigger share of the row unless min-width is forced to 0 on both. + Both are the same neutral steel tone with a shared border/white-text + treatment for readability against the photo backdrop. + + The row is CSS grid (grid-cols-2), not flex -- flex-1 alone kept giving + "Out" a wider share than "In" in practice (a longer label's own + intrinsic content width can still influence a flex item's rendered size + even with flex-basis:0, depending on what else is set on it/its + children -- min-w-0 didn't fully neutralise it here). Two equal-width + `1fr` grid columns don't have that ambiguity: track size is fixed by the + grid regardless of content, full stop. The Out reason step (label + textarea + Cancel/Confirm) is wrapped in one bordered/backed panel, same border colour as the In/Out pair -- reads as - one cohesive control rather than loose floating text and buttons. + one cohesive control rather than loose floating text and buttons. Its + own Cancel/Confirm pair is grid-cols-2 for the same equal-width reason. {% endcomment %}
-
-
+
+ {% csrf_token %} - +
@@ -49,9 +54,9 @@ -
- - +
+ +
diff --git a/mobile/templates/mobile/event_detail.html b/mobile/templates/mobile/event_detail.html index dc3fdb8..7deecf7 100644 --- a/mobile/templates/mobile/event_detail.html +++ b/mobile/templates/mobile/event_detail.html @@ -89,16 +89,17 @@ {% trans "Out" as label_out %} {% with status=answer.attendance.status %}
-
-
+ {# grid, not flex -- see _hero_rsvp.html's own comment: flex-1/min-w-0 kept letting a longer label win a wider share; grid-cols-3's tracks are content-independent. #} +
+ {% csrf_token %} - - + +
{% comment %} @@ -117,9 +118,9 @@ -
- - +
+ +
diff --git a/mobile/templates/mobile/home.html b/mobile/templates/mobile/home.html index e11854c..09bfba3 100644 --- a/mobile/templates/mobile/home.html +++ b/mobile/templates/mobile/home.html @@ -46,7 +46,7 @@

{{ hero_attendance.event.title }}

-
+
{% blocktrans with time=hero_attendance.event.start|date:"H:i" %}{{ time }} face-off{% endblocktrans %} {% if hero_attendance.event.gathering %} {% blocktrans with time=hero_attendance.event.gathering|date:"H:i" %}Meet {{ time }}{% endblocktrans %}