Skip to content

fix: hide left sidebar scrollbar on long menus - #2902

Open
DanSchlachter wants to merge 1 commit into
mainfrom
fix/hide-sidebar-scrollbar
Open

DanSchlachter wants to merge 1 commit into
mainfrom
fix/hide-sidebar-scrollbar

Conversation

@DanSchlachter

@DanSchlachter DanSchlachter commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Problem

When the left navigation menu content is longer than the viewport, a grey vertical scrollbar appears between the sidebar and the main doc area. It looks bad.
Screenshot 2026-09-18 at 10 02 23

Change

Hide the scrollbar on .VPSidebar across all browsers (Firefox, legacy Edge/IE, Chrome/Safari) while keeping the sidebar scrollable via mouse wheel / trackpad.

@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

👋 Hi — I'm PR Bot, your SAP code review assistant.

I'll automatically review your pull requests for code quality, security, and SAP compliance. Get an overview of what I do →

What I do

  • Summarize your pull request changes
  • Review code for quality, correctness, and reliability
  • Suggest fixes when a pipeline job fails

Key commands

Command Description
/review [--all] Trigger a code review. Add --all to include files excluded by excluded_paths.
/summarize Generate a PR summary
/ask <question> Ask about the current changes
/help See all available commands

*This introduction message will be shown to you only once, you will not see it in future PRs.

@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

Control Panel

Hi, I'm an AI-powered Review Bot that helps you with summarizing and reviewing pull requests.
To interact with me, just use the following actions:

  • 📝 Summarize PR
  • 🔍 Review
  • 🗑️ Delete all bot comments and reviews

@chgeo

chgeo commented Sep 18, 2026

Copy link
Copy Markdown
Member

Why do you think the scrollbar is bad here? It only appears when scrolling, so exactly when it's needed.
From an accessbility point I am not sure no scrollbars are desired. Check what the bast practises say here.

@DanSchlachter

Copy link
Copy Markdown
Contributor Author

i think it looks really out of place there somehow, as it goes through the header area which isn't scrollable and is very dominant compared to the minimalistic style (especially on the internal docs page with changed layout).
There is also no scrollbar on the right page outline and I think this looks more modern.
But maybe that can be improved without removing it completely - especially if needed for accessibility

@chgeo

chgeo commented Sep 18, 2026

Copy link
Copy Markdown
Member

The scrollbar is standard even in vitepress.dev:

image

it looks really out of place there somehow, as it goes through the header area

True for the header area, this is different compared to Vitepress.
So what about fixing this issue first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants