# HG changeset patch # User Bernhard Reiter # Date 1548069661 -3600 # Node ID e734d48ef964043fc76ebec302c11cc6bef4a2c8 # Parent 8fb1b1a8ea85988a919b74fd819df08a52425e40 client: cleanup code: remove browser based printing css attempt * Remove unused css and code (disabled and enabled) for printing based on the browsers printing functionality. Pdftool.vue creates a pdf in javascript directly. diff -r 8fb1b1a8ea85 -r e734d48ef964 client/src/components/Maplayer.vue --- a/client/src/components/Maplayer.vue Mon Jan 21 12:10:12 2019 +0100 +++ b/client/src/components/Maplayer.vue Mon Jan 21 12:21:01 2019 +0100 @@ -14,25 +14,6 @@ .mapfull { height: 100vh; } - -// the following css part is for browser-printing based pdf generation -@page { - size: A4 landscape !important; - margin: 4mm !important; - // according to https://www.w3.org/TR/css-page-3/#page-size-prop - // we shall now have 210 - 2*4 = 202 mm width and 297 - 2*4 = 289 mm height -} - -@media print { - .mapfull { - width: 2000px; - height: 2828px; - } - .mapsplit { - width: 2000px; - height: 2828px; - } -}