Open eitsupi opened 2 years ago
So the sidebar in _quarto.yml
has the style style: docked
, which does dock the sidebar to the left side. You could switch this to style: floating
and the content will float to the center with the sidebar following it towards the center. Only pages with sidebars are getting the 'docked' treatment- we found that even in websites with docked sidebars, if you ended up on a page without a sidebar, it didn't look great to have the content floating the left side when no sidebar was present...
So the sidebar in
_quarto.yml
has the stylestyle: docked
, which does dock the sidebar to the left side. You could switch this tostyle: floating
and the content will float to the center with the sidebar following it towards the center.
Thank you for your prompt attention. I had forgotten I had done this setup.
I will change this to style: floating
for now to get around it.
Right now, we believe that this is by design- perhaps it is worth more discussion, but we found pages without a sidebar seemed a little unusual looking when the content was either pushed all the way to the left or pushed to the position it would be if the sidebar were present.
Bug description
When I widen the browser, the page follows the left side instead of being centered as shown in the attached screenshot. I do not understand under what conditions this occurs, as it does not happen in my other projects.
Source: https://github.com/rocker-org/website/blob/9e36976f182639fefb1921cb472b5410e17c2fbc/images/index.md
Checklist
quarto check
in a terminal in your issue?