question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The title bar does not completely cover sidebar texts

See original GitHub issue

Describe the bug

The title bar can not completely cover sidebar texts. 81e7ba36bd7d0197428bcf36a31e0308

Reproduction

  1. clone this repo
  2. run pnpm install
  3. run pnpm build
  4. run pnpm docs-dev
  5. open the page and then click Guide
  6. scroll the sidebar 81e7ba36bd7d0197428bcf36a31e0308

Expected behavior

The title bar can completely cover the sidebar text. dedb7f092bdd71196d7005e160b6b408

System Info

System:
    OS: macOS 12.4
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
    Memory: 92.30 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.3.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 103.0.5060.114
    Firefox: 91.4.1
    Safari: 15.5

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.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
brc-ddcommented, Jul 11, 2022

Yeah, cool finally reproduced this 😅

image

0reactions
object-kazcommented, Jul 12, 2022

Changing this seems to fix this:

https://github.com/vuejs/vitepress/blob/e0b730aa8ee9bec1fe16245c4c1a1a91f62bed42/src/client/theme-default/components/VPSidebar.vue#L97

padding-left: max(32px, calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));

Check if this works fine for you too.

Yes, it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use sidebars in Pages on Mac - Apple Support
In Pages on your Mac, show or hide sidebars to see formatting controls, document settings, page thumbnails, and comments.
Read more >
How to Add a Sidebar to a Microsoft Word Document - YouTube
Follow along and download the instructor files for this How to Add a Sidebar to a Microsoft Word Document tutorial here: ...
Read more >
React Sidebar Goes Behind Background Image, but Over ...
I built a react sidebar, and for some reason whenever toggling it, the bar is behind the page's background image. I tried putting...
Read more >
Website Navigation - Quarto
The text for navigation bar items will be taken from the underlying target ... display for navigation item (defaults to the document title...
Read more >
Hide Title Bar/Hide Menu Bar - CLIP STUDIO
Select the [Window] menu > [Hide Title Bar] when the Title Bar and Menu Bar are displayed. The Title Bar will be hidden....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found