Make sure info-column is displayed on first page
by fiddling around :/
Change-Id: I94be7a5f21f7f8b3b327b855408da0bfb5bb3530
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 9a33b04..8be4052 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -58,6 +58,7 @@
width: $if(poster_width)$$poster_width$$else$827mm$endif$;
height: $if(poster_height)$$poster_height$$else$1189mm$endif$;
padding: 0;
+padding-bottom: 2.54cm;
text-align: justify;
font-family: $if(font_family)$$font_family$$else$Fira Sans$endif$;
}
@@ -169,10 +170,6 @@
color: $if(body_textcol)$$body_textcol$$else$#000000$endif$;
background-color: $if(body_bgcol)$$body_bgcol$$else$#ffffff$endif$;
}
-@media print {
- @page { margin: 0 0 2.54cm 0; }
- body { margin: 0 0 2.54cm 0;}
-}
.poster_title h1 {
font-size: $if(title_textsize)$$title_textsize$$else$64pt$endif$;
@@ -294,8 +291,18 @@
font-family: "Fira Sans Condensed Light";
font-size: 18pt;
left: 2cm;
+ bottom: 2cm;
+ overflow: display;
}
+@media print {
+#info-column {
+ bottom: 7vH;
+ page-break-inside: avoid;
+}
+}
+
+
/* center align leaflet map,
from https://stackoverflow.com/questions/52112119/center-leaflet-in-a-rmarkdown-document */
.html-widget {
@@ -678,7 +685,6 @@
© 2023 IDS Mannheim/PR<br/>
<br/>
<br/>
-<br/>
<svg
version="1.1"
id="svg7408"