Add a Content-Security-Policy to pdf.js' viewer.html (bug 1960363)

This commit is contained in:
Calixte Denizet
2026-05-14 12:50:07 +02:00
committed by calixteman
parent bf9ae7622f
commit 94de952b65
6 changed files with 174 additions and 14 deletions
+19
View File
@@ -713,6 +713,25 @@ dialog :link {
margin-top: 10px;
}
/*#if !MOZCENTRAL*/
#printServiceDialog {
min-width: 200px;
}
/*#endif*/
/*#if CHROME*/
#chrome-pdfjs-logo-bg {
display: block;
padding-left: 60px;
min-height: 48px;
background-size: 48px;
background-repeat: no-repeat;
font-size: 14px;
line-height: 1.8em;
word-break: break-all;
}
/*#endif*/
.grab-to-pan-grab {
cursor: grab !important;
}