commit | 2de8dfb6da2637a76a050f76079f793d73ae227d | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Jun 18 12:37:18 2023 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Jun 18 12:37:18 2023 +0200 |
tree | cfbfe656728e30d741dee9b9397599ca72017c42 | |
parent | 5625fc75755a55bf918906bd7583759dc26e835b [diff] |
Center images and captions by default Change-Id: Ia7b6e3d071fd5b62edb197784571ab5f1b648649
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html index b953304..4d5c996 100644 --- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html +++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -222,6 +222,9 @@ img { margin-top: 0; margin-bottom: 0; +margin-left: auto; +margin-right: auto; +display: block; } .section { padding: 0.2em; @@ -361,6 +364,10 @@ } caption { margin-bottom: 10px; +margin-left: auto; +margin-right: auto; +display: block; +width: fit-content; } .poster_body p, ol, ul { margin-top: 2mm;