[PR #6482] [MERGED] fix(web): prevent layout change from scrollbar in admin settings #11204

Closed
opened 2026-02-05 14:35:19 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/6482
Author: @mertalev
Created: 1/19/2024
Status: Merged
Merged: 1/19/2024
Merged by: @alextran1502

Base: mainHead: fix/web-scrollbar


📝 Commits (1)

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 web/src/app.css (+4 -0)
📝 web/src/lib/components/layouts/user-page-layout.svelte (+1 -1)

📄 Description

Description

When initially visiting the admin settings, there may be no scrollbar. Currently, when an accordion is expanded and a scrollbar appears, all the settings are shifted slightly to the left. This PR adds the new scrollbar-gutter CSS property that allows the layout to compensate for this.

Notably, Safari only supports this property behind a feature flag, so it will not have an effect on this browser yet.

How Has This Been Tested?

The admin settings no longer shift when the scrollbar appears.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/6482 **Author:** [@mertalev](https://github.com/mertalev) **Created:** 1/19/2024 **Status:** ✅ Merged **Merged:** 1/19/2024 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `fix/web-scrollbar` --- ### 📝 Commits (1) - [`2319196`](https://github.com/immich-app/immich/commit/2319196a2289e30c6e458fb646b3ecb2d594879a) stable scrollbar ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `web/src/app.css` (+4 -0) 📝 `web/src/lib/components/layouts/user-page-layout.svelte` (+1 -1) </details> ### 📄 Description ## Description When initially visiting the admin settings, there may be no scrollbar. Currently, when an accordion is expanded and a scrollbar appears, all the settings are shifted slightly to the left. This PR adds the new [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) CSS property that allows the layout to compensate for this. Notably, Safari only supports this property behind a feature flag, so it will not have an effect on this browser yet. ## How Has This Been Tested? The admin settings no longer shift when the scrollbar appears. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:35:19 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#11204