Skip to content

feat: add print stylesheet section for ReceiptShare (Closes #765) - #857

Open
waterWang wants to merge 1 commit into
Predictify-org:mainfrom
waterWang:feat/receiptshare-print-stylesheet
Open

feat: add print stylesheet section for ReceiptShare (Closes #765)#857
waterWang wants to merge 1 commit into
Predictify-org:mainfrom
waterWang:feat/receiptshare-print-stylesheet

Conversation

@waterWang

Copy link
Copy Markdown

Summary

Add print stylesheet section for ReceiptShare [b#031] (GrantFox FWC26).

Changes

  • src/pages/ReceiptShare.tsx: Added .receiptshare-page and .receiptshare-chrome class names for print targeting
  • src/styles/print.css: Added @media print block for ReceiptShare that hides chrome, resets colors to light mode, and prevents page breaks inside receipt cards
  • src/pages/tests/ReceiptShare.print.test.tsx: Focused tests verifying that the print stylesheet contains the expected selectors and the component applies the correct class names

Verification

  • All existing tests continue to pass
  • The new @media print block follows the same pattern as the existing ClaimFlow and DisputeCard print blocks in src/styles/print.css

Closes #765

AI use disclosed

AI tools were used to assist with code generation for this PR.

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

@waterWang is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add print stylesheet section for ReceiptShare [b#031]

1 participant