Skip to content

Sidebar: Only show scrollbar if scrollable #215

@Presskopp

Description

@Presskopp

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;
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions