From 73af7d4bc20c6cee966b41d7c7d6c65293dd34c4 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Sun, 21 Jun 2020 16:10:34 +0200 Subject: [PATCH] Add option to set positions for page breaks in base_print.html --- aleksis/core/static/print.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/aleksis/core/static/print.css b/aleksis/core/static/print.css index 4c7eea96f..0e2389e1d 100644 --- a/aleksis/core/static/print.css +++ b/aleksis/core/static/print.css @@ -71,6 +71,18 @@ header .row, header .col { width: auto; } +.page-break { + display: block; + text-align: center; + margin: auto; + margin-top: 20px; + margin-bottom: 20px; + width: 200px; + border-top: 1px dashed; + color: darkgrey; + page-break-after: always; +} + @media print { .header-space { height: 35mm; @@ -93,4 +105,8 @@ header .row, header .col { position: fixed; bottom: 0; } + + .page-break { + border: white; + } } -- GitLab