devusman commited on
Commit
96620a1
·
1 Parent(s): 036a6e1

feat: pdf style

Browse files
Files changed (1) hide show
  1. server.js +4 -2
server.js CHANGED
@@ -274,8 +274,8 @@ const applyPrintStyles = async (page, progressTracker) => {
274
  display: block !important;
275
  width: 100% !important;
276
  max-width: none !important;
277
- margin: 0 auto !important; /* Center the content */
278
- padding: 5mm !important; /* Add a small margin for readability */
279
  box-sizing: border-box; /* Include padding in width calculation */
280
  transform: none !important;
281
  }
@@ -289,6 +289,8 @@ const applyPrintStyles = async (page, progressTracker) => {
289
  max-width: 100% !important;
290
  height: auto !important;
291
  display: block !important;
 
 
292
  }
293
  }
294
  `;
 
274
  display: block !important;
275
  width: 100% !important;
276
  max-width: none !important;
277
+ margin: 0 !important;
278
+ padding: 0 !important;
279
  box-sizing: border-box; /* Include padding in width calculation */
280
  transform: none !important;
281
  }
 
289
  max-width: 100% !important;
290
  height: auto !important;
291
  display: block !important;
292
+ margin: 0 !important;
293
+ padding: 0 !important;
294
  }
295
  }
296
  `;