Renders VERY narrow
fdepaolis opened this issue · comments
Fernando DePaolis commented
I have a problem when trying to render an HTML document with knitrBootstrap::bootstrap_document:
This is the YAML:
output:
knitrBootstrap::bootstrap_document:
title: "Title goes here"
theme: Cosmo
highlight: Google Code
theme.chooser: FALSE
highlight.chooser: FALSE
...the result is a VERY narrow document and I can make it wider...no matter what...have you seen that before? Any hints?
Thank you
Fernando DePaolis commented
...I found a solution elsewhere...by including the code below right after the YAML
```{css, echo=FALSE}
body .main-container {
max-width: 1280px !important;
width: 1280px !important;
}
body {
max-width: 1280px !important;
}
```
I assume this to be a temporary solution...looking forward to receiving any reactions. All the best,
Jim Hester commented
This is using the bootstrap 3 defaults. I think your workaround is the best solution if you would prefer wider content.
Fernando DePaolis commented
Thank you!!!