fix(resume-pdf): не удалять шапку резюме (resume-header) при генерации
This commit is contained in:
1 parent
4b2fe4fe9c
commit
69c9223401
2 files changed
+1
-1
No files matched your search
Binary file not shown.
@@ -38,7 +38,7 @@ const fontInfo = await page.evaluate(() => ({
|
||||
console.log('Font:', fontInfo);
|
||||
|
||||
await page.evaluate(() => {
|
||||
document.querySelectorAll('header, footer, nav, .fab-stack, .cookie-notice, .skip-link').forEach(el => el.remove());
|
||||
document.querySelectorAll('header.header, footer, nav, .fab-stack, .cookie-notice, .skip-link').forEach(el => el.remove());
|
||||
const doc = document.querySelector('.resume-doc');
|
||||
if (doc) {
|
||||
doc.style.removeProperty('max-width');
|
||||
|
||||
Reference in new issue
Block a user