Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Jun 20, 2013
1 parent faa2b8e commit 6f9f0ac
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions inst/templates/knitr_bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------------------------------------- */
* {
Expand Down
7 changes: 6 additions & 1 deletion inst/templates/knitr_bootstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"use strict";

/* size of thumbnails */
var thumbsize = "span4";
var thumbsize = "span5";

/* included languages */
var languages = [];
Expand Down Expand Up @@ -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
-------------------------------------------------- */
* {
Expand Down
2 changes: 1 addition & 1 deletion inst/templates/knitr_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $(function() {
"use strict";

/* size of thumbnails */
var thumbsize = "span4";
var thumbsize = "span5";

/* included languages */
var languages = [];
Expand Down

0 comments on commit 6f9f0ac

Please sign in to comment.