mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #4855] Firefox layout offset caused by calc(100vw - 100%) in UI stylesheet #3053
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3053
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vsc55 on GitHub (Nov 7, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4855
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
In Firefox, when a vertical scrollbar appears, the main content area shifts to the right, leaving an empty space on the left side of the screen.
This issue doesn’t occur in Chrome.
The cause seems to be the following CSS rule in the main stylesheet:
Firefox includes the scrollbar width in 100vw, which results in a visible horizontal offset.
Commenting out the margin-left line fixes the issue without breaking layout in any tested browser.
Nginx Proxy Manager Version
2.13.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The layout should remain aligned to the left with no extra space when the scrollbar is active, consistent with Chrome’s behavior.
Screenshots

Screenshot showing the layout shift in Firefox (with scrollbar active).
Screenshot showing correct layout after commenting out the margin-left rule.

Operating System
Windows 10, Firefox 144.0.2.
@lastsamurai26 commented on GitHub (Nov 10, 2025):
I also experienced this during the beta phase of 2.13, but I could only reproduce it in Chrome-based browsers.
Since Windows 10 is no longer officially supported by MS, it is also possible that programs will discontinue their support.
Unfortunately, I cannot reproduce this in Firefox (Windows 11 and macOS).
@jc21 commented on GitHub (Nov 11, 2025):
I'm using Brave, which is chrome based, and I don't see this problem.
That css snippet above comes from Tabler
@lastsamurai26 commented on GitHub (Nov 11, 2025):
I've now tested it in Brave too, sometimes it works, sometimes it doesn't, it's kind of strange.
But I noticed that when switching between access lists -> hosts (proxy), it reloads the header, which causes the bar to shrink briefly and then either expand again or stay that way.
@jc21 commented on GitHub (Nov 11, 2025):
Ah ok I see it when the page is longer than the viewport, on Proxy Hosts table I have like 50 entries.
@lastsamurai26 commented on GitHub (Nov 11, 2025):
i got the scroll bar after 9 entries (: but yes (:
@7heMech commented on GitHub (Nov 13, 2025):
Got same issue will try to fix in my big PR lol
@7heMech commented on GitHub (Nov 13, 2025):
You can see it clearly on the audit logs tab.