Skip to content

Commit

Permalink
Increase margin bottom on printable page
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenhelium authored and samshara committed Dec 13, 2023
1 parent 2961574 commit faf5904
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

--base-font-size: 0.875rem;
--go-ui-font-size-export: 0.6875rem;
--go-ui-export-page-margin: 10mm 10mm 16mm 10mm;

--go-ui-font-size-2xs: calc(var(--base-font-size) * 0.625);
--go-ui-font-size-xs: calc(var(--base-font-size) * 0.75);
Expand Down Expand Up @@ -261,7 +262,7 @@ ul, ol, p {
@media print {
@page {
size: portrait A4;
margin: 10mm;
margin: var(--go-ui-export-page-margin);
}

body {
Expand Down
2 changes: 1 addition & 1 deletion src/views/DrefApplicationExport/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@media screen {
margin: var(--go-ui-spacing-xl) auto;
background-color: var(--go-ui-color-foreground);
padding: 10mm;
padding: var(--go-ui-export-page-margin);
width: 210mm;
min-height: 297mm;
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/DrefFinalReportExport/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@media screen {
margin: var(--go-ui-spacing-xl) auto;
background-color: var(--go-ui-color-foreground);
padding: 10mm;
padding: var(--go-ui-export-page-margin);
width: 210mm;
min-height: 297mm;
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/DrefOperationalUpdateExport/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@media screen {
margin: var(--go-ui-spacing-xl) auto;
background-color: var(--go-ui-color-foreground);
padding: 10mm;
padding: var(--go-ui-export-page-margin);
width: 210mm;
min-height: 297mm;
}
Expand Down

0 comments on commit faf5904

Please sign in to comment.