feat(docker): add docker configuration files and update styles

refactor: convert script tags to link tags for stylesheets in HTML files
fix: update PDF download to use Uint8Array for blob creation
style: reformat CSS file for better readability and organization
This commit is contained in:
abdullahalam123
2025-10-12 18:23:13 +05:30
parent 5e72d7ca2d
commit 3f90e5ed8d
38 changed files with 269 additions and 129 deletions

View File

@@ -154,7 +154,7 @@ export async function processAndSave() {
copiedPages.forEach((page: any) => newPdfDoc.addPage(page));
const newPdfBytes = await newPdfDoc.save();
downloadFile(new Blob([newPdfBytes], { type: 'application/pdf' }), 'organized.pdf');
downloadFile(new Blob([new Uint8Array(newPdfBytes)], { type: 'application/pdf' }), 'organized.pdf');
} catch (e) {
console.error(e);
showAlert('Error', 'Failed to save the new PDF.');