Skip to content

Sidebar: Only show scrollbar if scrollable #215

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

Open
Presskopp opened this issue Apr 9, 2025 · 0 comments
Open

Sidebar: Only show scrollbar if scrollable #215

Presskopp opened this issue Apr 9, 2025 · 0 comments

Comments

@Presskopp
Copy link

Describe the bug
On the sidebar there's a scrollbar. When the content fits it's not scrollable and therefore it's disturbing.

To Reproduce
Steps to reproduce the behavior:

  1. Open sidebar, for example click "Job frequency" for Next Scheduled Backups
  2. Make sure you are using a large screen (y resolution)
  3. You see the scollbar to the right
  4. There is no scroll function

Expected behavior
Only show scrollbar if it's usable

Screenshots

Image

Desktop (please complete the following information):

  • Windows 11
  • Chrome
  • v135.0.7049.41

Solution

.overflow-y-scroll {
  overflow-y: auto;
}

instead of

.overflow-y-scroll {
  overflow-y: scroll;
}

@Presskopp Presskopp changed the title Sidebar: Only show scrollbar when scrollable Sidebar: Only show scrollbar if scrollable Apr 15, 2025
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

No branches or pull requests

1 participant