### Bug description

To reproduce, create a minimal book project:

```shell
quarto create-project book --type book
```

and then modify `_quarto.yml` to add `reader-mode: true`. After rendering and displaying the project, switch to a mobile view with reduced width and a collapsed sidebar. If you then start reader mode, the sidebar is empty but the reader-mode collapsed sidebar can't be open., making navigation impossible.

This is a minor inconvenience but I thought it was worth mentioning.

I'm working on VSCode under Linux (KDE Neon).

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
dragonstyle
2023-03-09T17:31:58Z
juba
bug books
v1.4
open
Reader mode is incompatible with mobile view
https://github.com/quarto-dev/quarto-cli/issues/4739