correction pb h3 bis
This commit is contained in:
@@ -144,7 +144,7 @@ class setMarginTexts extends Paged.Handler {
|
||||
h3.nextSibling.style.position = "absolute";
|
||||
h3.nextSibling.style.top = "5%";
|
||||
}
|
||||
if (h3.closest('.pagedjs_page').nextElementSibling.querySelector('.has-children ')?.firstChild.firstChild.firstChild.tagName == "IMG") {
|
||||
if (h3.closest('.pagedjs_page').nextElementSibling?.querySelector('.has-children ')?.firstChild.firstChild.firstChild.tagName == "IMG") {
|
||||
let coverImg = h3.closest('.pagedjs_page').nextElementSibling.querySelector('.has-children ').firstChild.childNodes[0];
|
||||
coverImg.style.position = "absolute";
|
||||
coverImg.style.top = "-22mm";
|
||||
|
||||
Reference in New Issue
Block a user