diff --git a/contents.js b/contents.js index b807eca..1f233bb 100644 --- a/contents.js +++ b/contents.js @@ -83,9 +83,11 @@ function createIndexSection(contribution) { row.appendChild(col2); table.appendChild(row); }); + trackList.appendChild(title); + trackList.appendChild(table); } - trackList.appendChild(title); - trackList.appendChild(table); + + } function printViewToggle() { @@ -100,7 +102,7 @@ function printViewToggle() { createBackToWebBtn(); } else { //document.getElementsByTagName("head")[0].removeChild(printview); - pagejs.remove(); + pagedjs.remove(); console.log("aooooo che cazzo"); } } diff --git a/print.css b/print.css index 0d82dba..f4d1b52 100644 --- a/print.css +++ b/print.css @@ -107,13 +107,18 @@ /*Sorry Gi, the multicolumn layout is too painful */ - /* .contribution .content{ + .contribution .content{ column-count: 2; column-fill: auto; } .contribution li{ column-span: none; - } */ + } + + .contribution img{ + column-span: all; + width: 200%; + } .content p, .content h2 {