Skip to content

Mobile - Remove the CSS sidebar #859

Closed
@travankor

Description

@travankor

I usually browse things on my mobile phone without javascript, since javascript eats my phone's battery life (thanks advertising/analytics companies?).

mdBook generally works well on mobile w/o JS, except for the large CSS sidebar that takes up half of my phone's screen. Instead of trying to auto-hide the sidebar using JS, could there be a better way to integrate the sidebar? FWIW, mkdocs does not have this issue.

I know this is a somewhat niche case, but it would be great to not have to enable JS just to read simple markdown.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions