-
Is there a setting that renders the pages to use the full width. Currently the content of a page is built like using a center mode where the division is: white space - left sidebar - content - right sidebar - white space Is there a setting or mode where you can toggle the behaviour or ratio to go more for a full width mode? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
I am not an expert. But I know it has been discussed and explained before. Recently I reduced the space for the TOC by increasing the space for the center.
Furthermore there is an automatic calculation that when the space available is below a certain level it puts the navigation bar on a burger menu and does not show the TOC. You can test it without changing the screen resolution just using "CTRL + +" to increase the zoom. At certain point the navigation bar moves up and at a later one the TOC disappears. If you change the variable for the "minimum" width to a very high value it will work like in a mobile phone. I remember to have read it also somewhere. Try with the search. |
Beta Was this translation helpful? Give feedback.
-
I'd like to point out an edge case I noticed recently. When your page has a single level-1 header and no other headers, like
The space for the table of contents (i.e. the right sidebar) is allotted for the table of contents, even though no table of contents appears. |
Beta Was this translation helpful? Give feedback.
-
您好,收到了~感谢您的来信,祝您生活愉快!
|
Beta Was this translation helpful? Give feedback.
-
My quick and dirty fix was an extra_javascript in mkdocs.yml window.addEventListener("load", function() { |
Beta Was this translation helpful? Give feedback.
-
您好,收到了~感谢您的来信,祝您生活愉快!
|
Beta Was this translation helpful? Give feedback.
I am not an expert.
But I know it has been discussed and explained before. Recently I reduced the space for the TOC by increasing the space for the center.
I use now "100%" of the space available. This is good enough for all my colleagues. The TOC is small and the content is bigger. This is what I used for it. It was posted by Martin with a 70% as example.
Furthermore there is an automatic calculation that when the space available is below a certain level it puts the navigation bar on a burger menu and does not show the TOC. You can test it without changing the screen re…