Skip to content

Commit 93742c3

Browse files
committed
Increased margins of generated form a bit
1 parent 9490f8a commit 93742c3

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

templates/pdf/_base_styles.css.twig

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
:root {
2+
--body-margin-left: 20mm;
3+
--body-margin-right: 20mm;
4+
--body-margin-top: 20mm;
5+
--body-margin-bottom: 15mm;
6+
}
7+
18
@page {
29
margin: 0;
310
padding: 0;
@@ -10,7 +17,7 @@ body {
1017
}
1118

1219
main {
13-
margin: 17mm 15mm;
20+
margin: var(--body-margin-top) var(--body-margin-right) var(--body-margin-bottom) var(--body-margin-left);
1421
}
1522

1623
div.page-third1 {
@@ -72,23 +79,21 @@ div.center-mark {
7279

7380
header.header-line {
7481
position: absolute;
75-
top: 5mm;
76-
left: 15mm;
77-
right: 15mm;
82+
top: 8mm;
83+
left: var(--body-margin-left);
84+
right: var(--body-margin-right);
7885
font-size: 9pt;
7986
color: #848484;
8087
padding-right: 0;
8188
}
8289

8390
footer.footer-line {
8491
position: fixed;
85-
bottom: 10mm;
86-
left: 0;
92+
bottom: 8mm;
93+
left: var(--body-margin-left);
94+
right: var(--body-margin-right);
8795
font-size: 9pt;
88-
8996
color: #848484;
90-
padding-right: 15mm;
91-
padding-left: 15mm;
9297
}
9398

9499
.hint-text {

0 commit comments

Comments
 (0)