Fix figure caption centering

Change-Id: I0f15d88a401cbd7838b17610f70bd7de1c1cd597
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 4d5c996..bf6c698 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -328,6 +328,11 @@
 }
 .caption {
 font-size: 20pt;
+margin-left: auto;
+margin-right: auto;
+display: block;
+width: fit-content;
+
 }
 .table caption {
 font-size: 20pt;
@@ -364,10 +369,6 @@
 }
 caption {
 margin-bottom: 10px;
-margin-left: auto;
-margin-right: auto;
-display: block;
-width: fit-content;
 }
 .poster_body p, ol, ul {
 margin-top: 2mm;