Skip to content

feat: add print stylesheet section for Dashboard (Closes #805) - #861

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

feat: add print stylesheet section for Dashboard (Closes #805)#861
waterWang wants to merge 1 commit into
Predictify-org:mainfrom
waterWang:feat/dashboard-print-805

Conversation

@waterWang

@waterWang waterWang commented Aug 8, 2026

Copy link
Copy Markdown

Summary

Adds a print stylesheet section for the Dashboard page, following the same pattern as ClaimFlow and DisputeCard.

Changes

  • src/pages/Dashboard.tsx: Added import "../styles/print.css" and wrapped StellarWaveEmptyState in a dashboard-chrome div
  • src/styles/print.css: Added @media print section for .dashboard-container — hides chrome, forces white background and black text
  • src/pages/Dashboard.print.test.ts: New file verifying the print stylesheet connection and CSS rules

Testing

  • Dashboard.print.test.ts passes (2 tests)
  • ClaimFlow.print.test.ts still passes (no regression)
  • Follows the same pattern as existing print stylesheets (ClaimFlow, DisputeCard)

Closes #805

@vercel

vercel Bot commented Aug 8, 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 Dashboard [b#071]

1 participant