From c825ba47dabd2845d94b61aadbb76e89aaeeb464 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Mon, 5 Jun 2023 18:33:54 +0300 Subject: [PATCH] pdf saver --- index.html | 49 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 601cbed..6a5851f 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,6 @@ BODY { font-family: sans-serif; background-color: lightcyan; - width: 100%; } TEXTAREA { font-family: sans-serif; width: 100%; -webkit-border-radius: 5px; @@ -51,9 +50,7 @@ display: none; } #barcodes { - margin-top: 1em; - margin-bottom: 1em; - width: 100%; + margin: 1em; opacity: 1; transition: opacity 0.2s; } @@ -66,7 +63,6 @@ #lasku { border: 1px solid; border-collapse: collapse; - width: 100%; } #lasku th, #lasku td { border: 1px solid; @@ -92,6 +88,15 @@ .print_help { display: none; } + .kayttaja_pdf { + display: none; + } + .print_help_pdf { + display: block; + overflow: visible; + white-space: pre; + white-space: pre-wrap; + } @media print { .no-print, .no-print * { display: none !important; @@ -113,8 +118,11 @@ } + + +