feat(pdf): add print FAB + fix color-mix via clean clone approach
- Added secondary FAB button 'Печать' with printer icon (window.print) - Created printer.svg icon for the print button - Added .fab-secondary__ico--print CSS class - Fixed html2pdf color-mix() issue: buildCleanClone() creates a deep clone with all computed styles inlined, all stylesheets removed, and pseudo-elements converted to real DOM elements before passing to html2pdf - Two separate handlers: pdfBtn for download, printBtn for print dialog
This commit is contained in:
1 parent
319c23e69e
commit
e44a72f559
5 files changed
+286
-94
No files matched your search
@@ -4,4 +4,7 @@
|
||||
<span class="fab__label">Скачать в PDF</span>
|
||||
<span class="fab__spinner" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
<button type="button" class="fab fab--secondary" data-resume-print-btn aria-label="Печать резюме">
|
||||
<span class="fab-secondary__ico fab-secondary__ico--print" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
Reference in new issue
Block a user