center link to open pdf in a new tab horizontally
This commit is contained in:
parent
1714c06979
commit
c565f1f14d
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue