Skip to content

Use auto overflow for the library content pane#31

Merged
Alfagun74 merged 2 commits intomasterfrom
copilot/fix-unnecessary-vertical-scrollbar
Apr 23, 2026
Merged

Use auto overflow for the library content pane#31
Alfagun74 merged 2 commits intomasterfrom
copilot/fix-unnecessary-vertical-scrollbar

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 21, 2026

The library page always rendered a vertical scrollbar because its main scroll container used overflow-y-scroll, even when the content fit within the viewport. This updates the layout so the scrollbar only appears when the page actually overflows.

  • Layout

    • Change the library page’s main content container from forced vertical scrolling to automatic overflow handling.
    • Preserve existing horizontal overflow behavior and layout structure.
  • Implementation

    • Update the Library page scroll container:
<div className="flex-1 overflow-y-auto overflow-x-hidden text-center">
  • Impact

    • Removes the always-visible vertical scrollbar in normal-fit layouts.
    • Keeps scrolling behavior unchanged when the library content exceeds the available height.
  • Screenshot

    • Library layout without forced scrollbar

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gamevault.alfagun74.de
    • Triggering command: /usr/bin/java java -jar /home/REDACTED/work/gamevault-frontend/gamevault-frontend/node_modules/.pnpm/@openapitools&#43;openapi-generator-cli@2.28.0/node_modules/@openapitools/openapi-generator-cli/versions/7.14.0.jar generate -g typescript-fetch -i REDACTED -o ./src/api --global-property models,supportingFiles -p enumPropertyNaming=snake_case -p modelPropertyNaming=snake_case (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue Apr 21, 2026 that may be closed by this pull request
@Alfagun74 Alfagun74 marked this pull request as ready for review April 21, 2026 10:04
Copilot AI review requested due to automatic review settings April 21, 2026 10:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Alfagun74 Alfagun74 marked this pull request as draft April 21, 2026 10:04
Copilot AI changed the title [WIP] Fix unnecessary vertical scrollbar in main layout Use auto overflow for the library content pane Apr 21, 2026
Copilot AI requested a review from Alfagun74 April 21, 2026 10:15
@Alfagun74 Alfagun74 marked this pull request as ready for review April 23, 2026 00:38
@Alfagun74 Alfagun74 merged commit cc19907 into master Apr 23, 2026
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.

Unnecessary vertical scrollbar in main layout

3 participants