From b0ab711da3969630d3ab79e63120992027443f9c Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Thu, 7 Oct 2021 21:52:25 +0200 Subject: [PATCH] Equalize line weights and simplify CSS Experiments in exporting PDF using `wkhtmltopdf` utility caused borders to disappear when set to 0.25mm, but 0.35mm renders fine --- src/wireviz/templates/din-6771.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wireviz/templates/din-6771.html b/src/wireviz/templates/din-6771.html index 3a060bf7..547a340c 100644 --- a/src/wireviz/templates/din-6771.html +++ b/src/wireviz/templates/din-6771.html @@ -11,8 +11,11 @@ background-color: ; } - table { + table, td, th, #frame { border: 0.35mm solid black; /* line weight based on DIN 15 */ + } + + table { padding: 0; border-bottom: 0; border-right: 0; @@ -20,7 +23,6 @@ } td, th { - border: 0.25mm solid black; /* line weight based on DIN 15 */ border-top: 0; border-left: 0; @@ -34,7 +36,6 @@ #frame { position: relative; - border: 0.35mm solid black } .A4, .sheetsize_default { /* portrait */