Skip to content
SprecherEast
Issue 1142

feat: "Your share" tab: paragraph-sized gaps around the estimator, label and first row title

Back to our plan
Done
enhancementfrontendstylinguxpriority: mediumready

Problem

On a whole-bill tab the intro paragraph sits only a few pixels above the estimator card, much closer than the space below the card, so the two look stuck together. The estimator's label states what the box holds but does not invite the reader to put in their own value, so it can read as a fixed figure.

Owner's decision (2026-11-12, chat session): make the space between the intro and the estimator equal to the space below the estimator, and change the label to "Enter your assessed value", which is shorter than today's label so nothing moves on a phone.

Proposed fix

  • Spacing: the gap between the intro line and the estimator card equals the gap between the estimator card and the answer card, from one shared spacing value (no new literal), at every width.
  • Label: the value box's label reads "Enter your assessed value". The box's accessible name follows it. Nothing else in the estimator row changes; the "Tax rates" label and the year control keep their place and alignment.

Acceptance criteria

  • Not done: Failing tests first: the label text and the box's accessible name; the shared gap value used above and below the estimator.
  • Not done: Measured in a real render at 320, 390 and 1280 px, light and dark: the gap above the estimator equals the gap below it within 1 px.
  • Not done: The label stays on one line beside "Tax rates" at 390 and 1280 px, and stacks as today at 320 px; nothing in the row shifts.
  • Not done: The rich text note and any e2e/ check that reads the label are updated in the same pull request.

Files likely touched

  • src/platform/richtext/editorial/RoughEstimator.tsx, src/platform/richtext/editorial/BillShare.client.tsx, their tests and fixtures
  • e2e/billTab.spec.ts
  • src/platform/richtext/README.md

Must not touch

  • src/platform/ui/Tabs.client.tsx, src/platform/richtext/editorial/FactCard.tsx
  • Stored content and tax years

Open questions

None.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab