From 1afca8862a00d7fb4dff69ff6474a16edcdba3ec Mon Sep 17 00:00:00 2001 From: Matthias Hemmerich Date: Thu, 16 Dec 2021 16:43:09 +0100 Subject: [PATCH] add footer in print --- app/assets/css/main.css | 13 +++++++++++++ app/print.html | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/app/assets/css/main.css b/app/assets/css/main.css index ec0fb3c..5d7c9b6 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -42,6 +42,9 @@ main > .container { .form-leistung:hover .btn-minus { display: block; } + footer.onlyprint{ + display: none; + } } hr { @@ -124,4 +127,14 @@ hr { hr { display: block; } + footer.onlyprint { + position: fixed; + bottom: 0; + font-size: 10px; + display: table; + text-align: center; + margin-left: auto; + margin-right: auto; + } + } } \ No newline at end of file diff --git a/app/print.html b/app/print.html index afa7def..1584040 100644 --- a/app/print.html +++ b/app/print.html @@ -90,6 +90,11 @@
Unterschrift / Stempel
+ @@ -98,10 +103,10 @@ - + \ No newline at end of file