From 318069d194c77fc294eeb8b30a5390c9d63b040c Mon Sep 17 00:00:00 2001 From: Kaalleen Date: Sat, 15 Oct 2022 17:23:47 +0200 Subject: [PATCH] fix custom information sheet print out --- print/resources/style.css | 8 ++++++-- print/templates/ui.html | 11 ++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/print/resources/style.css b/print/resources/style.css index 44be41043..db5ba603f 100644 --- a/print/resources/style.css +++ b/print/resources/style.css @@ -965,7 +965,7 @@ body { height: 30mm; } - .custom-page main { + .custom-page main, .custom-page main fieldset { height: 230mm } #custom-page-tool-bar { @@ -978,6 +978,11 @@ body { text-align: left; } + @media print { + #custom-page-content { + border: none; + } + } /* Color Swatch Logic */ /* reference : http://jsfiddle.net/jrulle/btg63ezy/3/ */ @@ -1171,7 +1176,6 @@ body { #errors, span.logo-instructions, #custom-page-tool-bar, - #custom-page-content, .notice--warning { display: none !important; } diff --git a/print/templates/ui.html b/print/templates/ui.html index f1dd9c126..4282838d3 100644 --- a/print/templates/ui.html +++ b/print/templates/ui.html @@ -54,18 +54,19 @@

+

+ + + 15mm +

-

+

-

{{ _('Thumbnail size') }}: - - 15mm -