center link to open pdf in a new tab horizontally

This commit is contained in:
Mylloon 2025-02-11 01:45:29 +01:00
parent 1714c06979
commit c565f1f14d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -136,6 +136,8 @@ const blobifyPdfs = () => {
link.href = newUrl;
link.target = "_blank";
link.textContent = "Ouvrir le PDF dans un nouvel onglet";
link.style.display = "grid";
link.style.justifyContent = "center";
item.insertAdjacentElement("afterend", link);
});
}