An attempt to fix the PDF iframe not loading properly when the API domain is third-partyBasic printer CRUD
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s

This commit is contained in:
2025-04-06 18:08:05 -04:00
parent 8d75849c55
commit 0283c293ef
171 changed files with 5 additions and 0 deletions

0
web/config/postcss.config.js Normal file → Executable file
View File

0
web/config/tailwind.config.js Normal file → Executable file
View File

0
web/jest.config.js Normal file → Executable file
View File

0
web/package.json Normal file → Executable file
View File

0
web/public/README.md Normal file → Executable file
View File

0
web/public/favicon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 757 B

After

Width:  |  Height:  |  Size: 757 B

0
web/public/no_portrait.webp Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

0
web/public/no_resume.pdf Normal file → Executable file
View File

0
web/public/robots.txt Normal file → Executable file
View File

0
web/quick-lint-js.config Normal file → Executable file
View File

0
web/src/App.tsx Normal file → Executable file
View File

0
web/src/Routes.tsx Normal file → Executable file
View File

0
web/src/auth.ts Normal file → Executable file
View File

0
web/src/components/.keep Normal file → Executable file
View File

0
web/src/components/Cell/CellEmpty/CellEmpty.tsx Normal file → Executable file
View File

0
web/src/components/Cell/CellFailure/CellFailure.tsx Normal file → Executable file
View File

0
web/src/components/Cell/CellLoading/CellLoading.tsx Normal file → Executable file
View File

0
web/src/components/ColorPicker/ColorPicker.tsx Normal file → Executable file
View File

View File

View File

0
web/src/components/DatePicker/DatePicker.tsx Normal file → Executable file
View File

0
web/src/components/FormTextList/FormTextList.tsx Normal file → Executable file
View File

5
web/src/components/PDF/PDF.tsx Normal file → Executable file
View File

@@ -23,13 +23,18 @@ const PDF = ({ url, form = false }: PDFProps) => {
<iframe
src={url}
title="PDF"
content="application/pdf"
style={{
width: 'calc(100vw - 1rem)',
height: `calc(100vh - ${form ? '8.5rem' : '6rem'})`,
}}
allowFullScreen
className="rounded-xl"
onError={() => setError(true)}
onLoad={() => setError(false)}
sandbox="allow-same-origin allow-scripts allow-forms allow-popups"
referrerPolicy="no-referrer-when-downgrade"
loading="lazy"
/>
)
}

View File

View File

View File

View File

View File

0
web/src/components/Project/NewProject/NewProject.tsx Normal file → Executable file
View File

0
web/src/components/Project/Project/Project.tsx Normal file → Executable file
View File

0
web/src/components/Project/ProjectCell/ProjectCell.tsx Normal file → Executable file
View File

0
web/src/components/Project/ProjectForm/ProjectForm.tsx Normal file → Executable file
View File

0
web/src/components/Project/Projects/Projects.tsx Normal file → Executable file
View File

View File

View File

View File

0
web/src/components/Resume/Resume/Resume.tsx Normal file → Executable file
View File

0
web/src/components/Resume/ResumeCell/ResumeCell.tsx Normal file → Executable file
View File

0
web/src/components/Resume/ResumeForm/ResumeForm.tsx Normal file → Executable file
View File

0
web/src/components/RichTextEditor/RichTextEditor.tsx Normal file → Executable file
View File

View File

0
web/src/components/Social/NewSocial/NewSocial.tsx Normal file → Executable file
View File

0
web/src/components/Social/Social/Social.tsx Normal file → Executable file
View File

0
web/src/components/Social/SocialCell/SocialCell.tsx Normal file → Executable file
View File

0
web/src/components/Social/SocialForm/SocialForm.tsx Normal file → Executable file
View File

0
web/src/components/Social/SocialLinks/SocialLinks.tsx Normal file → Executable file
View File

0
web/src/components/Social/Socials/Socials.tsx Normal file → Executable file
View File

0
web/src/components/Social/SocialsCell/SocialsCell.tsx Normal file → Executable file
View File

0
web/src/components/Tag/EditTagCell/EditTagCell.tsx Normal file → Executable file
View File

0
web/src/components/Tag/NewTag/NewTag.tsx Normal file → Executable file
View File

0
web/src/components/Tag/Tag/Tag.tsx Normal file → Executable file
View File

0
web/src/components/Tag/TagCell/TagCell.tsx Normal file → Executable file
View File

0
web/src/components/Tag/TagForm/TagForm.tsx Normal file → Executable file
View File

0
web/src/components/Tag/Tags/Tags.tsx Normal file → Executable file
View File

0
web/src/components/Tag/TagsCell/TagsCell.tsx Normal file → Executable file
View File

0
web/src/components/Tag/TagsSelector/TagsSelector.tsx Normal file → Executable file
View File

View File

0
web/src/components/ThemeToggle/ThemeToggle.tsx Normal file → Executable file
View File

View File

0
web/src/components/Title/Titles/Titles.tsx Normal file → Executable file
View File

0
web/src/components/Title/TitlesCell/TitlesCell.tsx Normal file → Executable file
View File

0
web/src/components/Title/TitlesForm/TitlesForm.tsx Normal file → Executable file
View File

View File

0
web/src/components/ToasterWrapper/ToasterWrapper.tsx Normal file → Executable file
View File

0
web/src/components/Uploader/Uploader.tsx Normal file → Executable file
View File

0
web/src/entry.client.tsx Normal file → Executable file
View File

0
web/src/index.css Normal file → Executable file
View File

0
web/src/index.html Normal file → Executable file
View File

0
web/src/layouts/.keep Normal file → Executable file
View File

0
web/src/layouts/AccountbarLayout/AccountbarLayout.tsx Normal file → Executable file
View File

0
web/src/layouts/NavbarLayout/NavbarLayout.tsx Normal file → Executable file
View File

0
web/src/layouts/ScaffoldLayout/ScaffoldLayout.tsx Normal file → Executable file
View File

0
web/src/lib/color.tsx Normal file → Executable file
View File

0
web/src/lib/formatters.tsx Normal file → Executable file
View File

0
web/src/lib/handle.tsx Normal file → Executable file
View File

0
web/src/lib/tus.ts Normal file → Executable file
View File

0
web/src/pages/ContactPage/ContactPage.tsx Normal file → Executable file
View File

0
web/src/pages/FatalErrorPage/FatalErrorPage.tsx Normal file → Executable file
View File

View File

0
web/src/pages/HomePage/HomePage.tsx Normal file → Executable file
View File

0
web/src/pages/LoginPage/LoginPage.tsx Normal file → Executable file
View File

0
web/src/pages/NotFoundPage/NotFoundPage.tsx Normal file → Executable file
View File

0
web/src/pages/Portrait/PortraitPage/PortraitPage.tsx Normal file → Executable file
View File

View File

View File

View File

View File

0
web/src/pages/Project/ProjectPage/ProjectPage.tsx Normal file → Executable file
View File

0
web/src/pages/Project/ProjectsPage/ProjectsPage.tsx Normal file → Executable file
View File

0
web/src/pages/ResetPasswordPage/ResetPasswordPage.tsx Normal file → Executable file
View File

View File

0
web/src/pages/Resume/ResumePage/ResumePage.tsx Normal file → Executable file
View File

0
web/src/pages/Social/EditSocialPage/EditSocialPage.tsx Normal file → Executable file
View File

0
web/src/pages/Social/NewSocialPage/NewSocialPage.tsx Normal file → Executable file
View File

0
web/src/pages/Social/SocialPage/SocialPage.tsx Normal file → Executable file
View File

0
web/src/pages/Social/SocialsPage/SocialsPage.tsx Normal file → Executable file
View File

0
web/src/pages/Tag/EditTagPage/EditTagPage.tsx Normal file → Executable file
View File

0
web/src/pages/Tag/NewTagPage/NewTagPage.tsx Normal file → Executable file
View File

0
web/src/pages/Tag/TagPage/TagPage.tsx Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More