Actually avoid page breaks in .figure

Change-Id: I085dcd014ccab724f3bc205c4c9e5eaa821ad197
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 128598c..8fbd1af 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -319,7 +319,7 @@
   page-break-after: avoid;
 }
 
-table, figure, .sourceCode {
+table, figure, .figure, .sourceCode {
   page-break-inside: avoid;
 }