Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default theme sidebar not disabled in mobile view #1467

Open
howar31 opened this issue Mar 20, 2019 · 0 comments
Open

Default theme sidebar not disabled in mobile view #1467

howar31 opened this issue Mar 20, 2019 · 0 comments
Labels
version: 0.x Relates to version 0 of VuePress

Comments

@howar31
Copy link

howar31 commented Mar 20, 2019

  • [ x] I confirm that this is an issue rather than a question.

Bug report

Version

v0.14.10

Steps to reproduce

  1. Set sidebar: 'auto' in config.js
  2. Create a README.md and set sidebar: false in YAML front matter

What is expected?

  • Sidebar should be disabled in the README.md page with sidebar: false
  • Sidebar should show header links in other pages
  • The behavior should be the same in desktop view and mobile view

What is actually happening?

In the README.md with sidebar: false

  • Sidebar is disabled correctly in desktop view
    image

  • But the sidebar still shows the header links in mobile view (max-width: 719px)
    image

This issue happens in my blog and you may change the browser width to see the sidebar shows up in mobile view.

Other relevant information

  • Your OS: macOS Mojave 10.14.3
  • Node.js version: v11.11.0
  • Browser version: Chrome Version 72.0.3626.121 (Official Build) (64-bit)
  • Is this a global or local install? global
  • Which package manager did you use for the install? npm install -g vuepress
  • Does this issue occur when all plugins are disabled? yes, I'm not using plugins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version: 0.x Relates to version 0 of VuePress
Projects
None yet
Development

No branches or pull requests

2 participants