From 50ced7e584e601f66c73c03b8016f74dd2afc40c Mon Sep 17 00:00:00 2001 From: grgr Date: Mon, 9 May 2022 20:53:22 +0200 Subject: [PATCH] fix image column span --- contents.js | 8 +++++--- print.css | 9 +++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) 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 {