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

margin left/right is zero when home: true in default theme #346

Closed
3 tasks done
gcnyin opened this issue Jul 29, 2021 · 0 comments · Fixed by #347
Closed
3 tasks done

margin left/right is zero when home: true in default theme #346

gcnyin opened this issue Jul 29, 2021 · 0 comments · Fixed by #347
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@gcnyin
Copy link
Contributor

gcnyin commented Jul 29, 2021

Describe the bug

margin left/right is zero when home: true
WechatIMG2403

Reproduction

  1. start a new vitepress project
  2. in docs/index, set home: true
  3. open in mobile

Expected behavior

should have left and right margin

System Info

System:
    OS: macOS 11.5
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 293.35 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.22.1 - ~/.nvm/versions/node/v12.22.1/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v12.22.1/bin/yarn
    npm: 7.17.0 - ~/.nvm/versions/node/v12.22.1/bin/npm
  Browsers:
    Chrome: 92.0.4515.107
    Firefox: 84.0
    Safari: 14.1.2
  npmPackages:
    vitepress: ^0.15.6 => 0.15.6

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@gcnyin gcnyin added the bug: pending triage Maybe a bug, waiting for confirmation label Jul 29, 2021
@gcnyin gcnyin changed the title margin left/right is zero when home: true margin left/right is zero when home: true in default theme Jul 29, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant