fix(pdf): improve PDF blob handling and improve viewer destruction logic (#506)

* fix(pdf): improve PDF blob handling and improve viewer destruction logic

* fix(pdf):  PDF annotation saving logic and improve responsive design for mobile

* fix(pdf): improve PDF fetching (once again) and caching logic to improve performance and reduce network requests

* fix(pdf): hide footer and notification elements in PDF viewer

* fix(pdf): improve loading behavior and improve annotation persistence logic

* fix(pdf): improve PDF annotation persistence with retry mechanism and logging

* fix(pdf): improve PDF annotation saving with raw fetch and improved error handling

* fix(pdf): cap highlight opacity and adjust rendering for small viewports
This commit is contained in:
brios
2026-04-22 17:27:35 -04:00
committed by Zach Yale
parent 6f2b86a7c5
commit 68d0b26716
10 changed files with 370 additions and 114 deletions
+14
View File
@@ -168,6 +168,20 @@
display: none !important;
}
/* Hide bottom notification / popup bar */
[class*="fixed"][class*="bottom-"],
[class*="absolute"][class*="bottom-"],
[class*="snackbar"],
[class*="toast"],
[class*="notification"],
[class*="bottom-bar"],
[class*="status-bar"],
[class*="statusbar"],
footer,
[class*="footer"] {
display: none !important;
}
[data-epdf-i="open-document"],
[data-epdf-i="close-document"],
button[title="Open Document"],