feat: add print stylesheet section for SettingsAccount [b#011] [fj4WqyCCw3C5ShR1RfB7MoBPTpkRrBFYP1uT35g3MvT] - #900
Open
waterWang wants to merge 1 commit into
Conversation
- Import print.css and print-settings.css in index.css (missing imports restored) - Add @media print section to SettingsAccount.css: - Hide interactive chrome (toggle buttons, chevrons) - Expand all collapsible panels for full content visibility - Ensure dark ink on white paper for headings and descriptions - Clean up card borders and backgrounds for paper output Closes Creditra#824
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a dedicated print stylesheet section for the SettingsAccount page, ensuring a clean, readable printed output.
Changes
src/index.cssprint.css: Restores the missing import for the general print stylesheet (covers AmountConfirm and other pages)print-settings.css: Restores the missing import for the SettingsAccount-specific print stylesheetsrc/pages/SettingsAccount.css.settings-account__paneland.settings-account__panel--expandedelements are fully expanded (max-height: none,height: auto,overflow: visible)#000on white background#cccborder and#fffbackground for paper outputbreak-inside: avoidprevents awkward page breaks within collapsible sectionsTesting
print-settings.test.ts(6 tests) — ✅ all passresolve is not definederror inSettingsAccount.test.tsxis unrelated to this change (missing import in the test file's parent scope)Closes #824