diff --git a/inst/templates/knitr_bootstrap.css b/inst/templates/knitr_bootstrap.css index 6c4cf0c..c3c88b8 100644 --- a/inst/templates/knitr_bootstrap.css +++ b/inst/templates/knitr_bootstrap.css @@ -19,6 +19,11 @@ .thumbnails { text-align:center; } .thumbnails > .thumbnail { display: inline-block !important; float: none !important; } +/*fix for boostrap#3494*/ +.row-fluid.thumbnails .span5.thumbnail:nth-child(6n+1) { margin-left: 0px; } +.row-fluid.thumbnails .span5.thumbnail:nth-child(4n+1) { margin-left: 0px; } +.row-fluid.thumbnails .span5.thumbnail:nth-child(2n+1) { margin-left: 0px; } + /* Sticky footer styles -------------------------------------------------- */ * { diff --git a/inst/templates/knitr_bootstrap.html b/inst/templates/knitr_bootstrap.html index a4583e4..b85658b 100644 --- a/inst/templates/knitr_bootstrap.html +++ b/inst/templates/knitr_bootstrap.html @@ -33,7 +33,7 @@ "use strict"; /* size of thumbnails */ - var thumbsize = "span4"; + var thumbsize = "span5"; /* included languages */ var languages = []; @@ -233,6 +233,11 @@ .thumbnails { text-align:center; } .thumbnails > .thumbnail { display: inline-block !important; float: none !important; } +/*fix for boostrap#3494*/ +.row-fluid.thumbnails .span5.thumbnail:nth-child(6n+1) { margin-left: 0px; } +.row-fluid.thumbnails .span5.thumbnail:nth-child(4n+1) { margin-left: 0px; } +.row-fluid.thumbnails .span5.thumbnail:nth-child(2n+1) { margin-left: 0px; } + /* Sticky footer styles -------------------------------------------------- */ * { diff --git a/inst/templates/knitr_bootstrap.js b/inst/templates/knitr_bootstrap.js index 38ad1c5..bce4eb0 100644 --- a/inst/templates/knitr_bootstrap.js +++ b/inst/templates/knitr_bootstrap.js @@ -3,7 +3,7 @@ $(function() { "use strict"; /* size of thumbnails */ - var thumbsize = "span4"; + var thumbsize = "span5"; /* included languages */ var languages = [];