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
This commit is contained in:
parent
a59f96aaa6
commit
b513051bc2
7
src/wireviz/templates/din-6771.html
generated
7
src/wireviz/templates/din-6771.html
generated
@ -11,8 +11,11 @@
|
|||||||
background-color: <!-- %bgcolor% -->;
|
background-color: <!-- %bgcolor% -->;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table, td, th, #frame {
|
||||||
border: 0.35mm solid black; /* line weight based on DIN 15 */
|
border: 0.35mm solid black; /* line weight based on DIN 15 */
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
@ -20,7 +23,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
td, th {
|
td, th {
|
||||||
border: 0.25mm solid black; /* line weight based on DIN 15 */
|
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
|
|
||||||
@ -34,7 +36,6 @@
|
|||||||
|
|
||||||
#frame {
|
#frame {
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 0.35mm solid black
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.A4, .sheetsize_default { /* portrait */
|
.A4, .sheetsize_default { /* portrait */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user