Make orange bar more reliable for short titles
Change-Id: I02476b1d7b63c5f7e50bd0c95076626f6ac779f3
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 94ad34e..74e7262 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -83,12 +83,9 @@
margin-bottom: 1%;
}
.orange_bar {
-width: 15%;
+width: 15.5%;
background-color: $if(primary_colour)$$primary_colour$$else$#f57c14$endif$;
display: table-cell;
-align-items: left;
-border-right: 5%;
-justify-content: left;
}
.logo_left {
margin-left: 2cm;
@@ -113,7 +110,7 @@
display: table-cell;
padding-left: 2.0%;
margin-right: 0;
-width: 80%;
+width: calc($if(poster_width)$$poster_width$$else$841mm$endif$ * 0.83);
color: $if(title_textcol)$$title_textcol$$else$#000000$endif$;
}
#title {