Skip to content

Center proposal card pills and dates without expansion shifts - #80

Merged
Cyber-preacher merged 1 commit into
masterfrom
fix/proposal-card-pill-alignment
Sep 8, 2026
Merged

Center proposal card pills and dates without expansion shifts#80
Cyber-preacher merged 1 commit into
masterfrom
fix/proposal-card-pill-alignment

Conversation

@Cyber-preacher

Copy link
Copy Markdown
Contributor

Summary

  • Vertically center location pills, stage pills, dates, and chevrons against each collapsed card header.
  • Keep metadata anchored when full summaries expand, without increasing collapsed card sizes.
  • Use the shared GlassyRecordCard component and preserve the stacked mobile layout.

Regression Coverage

Playwright checks short and multiline titles, long chamber names, empty and lengthy summaries, Initiative associations, centering, and stable expansion across desktop widths. Mobile checks cover 390, 768, and 1024 pixels.

Validation

  • Typecheck passed.
  • Production build passed.
  • 14 focused unit tests passed.
  • Proposal-card alignment Playwright regression passed.
  • Desktop and mobile preview screenshots inspected.
  • Formatting and git diff checks passed.

Scope

Test fixtures are confined to the browser test with intercepted APIs. No runtime dummy data, backend changes, migrations, or production configuration changes.

Measure the collapsed header to align pills, dates, and chevrons while preserving their position when summaries expand. Retain the stacked mobile layout and cover variable content and viewport sizes in Playwright.
@Cyber-preacher
Cyber-preacher merged commit 48c8542 into master Sep 8, 2026
6 checks passed
@Cyber-preacher
Cyber-preacher deleted the fix/proposal-card-pill-alignment branch September 8, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant