### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/4056

<div type='discussions-op-text'>

<sup>Originally posted by **aborruso** January 23, 2023</sup>
Hi,
if I open this sample page I have a very very useful TOC, on the side.

![image](https://user-images.githubusercontent.com/30607/214004280-4ee67553-64ee-4ec6-a5c2-65e52f8c7169.png)

If I resize the window the TOC disappears and I do not have it in 1) and 2) (see below).

Is there a way to have it in hamburger menu, and not make it disappear when the window gets small, without putting it in the body, or to put automatically in the body only when the window is small?

Thank you

![image](https://user-images.githubusercontent.com/30607/214004675-240916bc-7d99-4695-ab50-7ab5a1be428f.png)

</div>
dragonstyle
2023-01-24T14:45:33Z
dragonstyle
v1.4
open
TOC Responsive Layout Collapse into Sidebar
https://github.com/quarto-dev/quarto-cli/issues/4079