mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #702] Menu is collapsed on mobile devices #594
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#594
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 @Kipjr on GitHub (Nov 7, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/702
Checklist
jc21/nginx-proxy-manager:latestdocker image? YESDescribe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots

Operating System
@erraticallyefficient commented on GitHub (Dec 7, 2020):
Can confirm I'm seeing the same issue.
Using the latest chrome browser on a pixel. Doesn't matter if you view the page in mobile mode or desktop mode.
@NuttCorp commented on GitHub (Feb 6, 2021):
Having same issue. Unable to access SSL section from mobile web browser. Tried Chrome and Firefox. Switching to desktop view makes no difference. Definitely gonna buy you a coffee. Love the tool.
@infeeeee commented on GitHub (May 2, 2021):
This is an issue on all mobile devices. This is reproducible in any browser's dev tools' responsive design mode
On the UI a collapse class is added to the menu, so it collapses on small screens. This class is also applied on the tabler demo page, but there is no button to uncollapse the menu on npm's frontend.
Quick and dirty fix on your instance:
/app/frontend/css/main.css.collapse{display:none};This is just a temporary fix, it will be overwritten on next update. Create a backup of this file before editing if you don't know what you are doing.
More permanent fix should be to fix it in the repo, but I couldn't find a documentation how to set up a build environment for this project, and I don't want to create an untested PR, so if anyone can test this, please create a PR:
Easy solution: do not collapse the menu at all, as npm is not 100% responsive, I think this won't be a big problem.
Just simply delete the word 'collapse' from this line:
github.com/jc21/nginx-proxy-manager@b42cc9ed3e/frontend/js/app/ui/menu/main.js (L9)The page should look something like this with this fix:
Better solution should be to create a button for uncollapsing, as it's on tabler's demo page, but I have no idea how to do that.
@thunderclap82 commented on GitHub (Sep 10, 2021):
I'm surprised this hasn't been fixed yet considering it's been nearly a year. Looking at the suggestion it seems like a fairly straightforward fix. This isn't to belittle the developer -- real world life gets in the way, I get it -- but more of a reminder bump. :)
Overall, I really appreciate the work on this project.
@threehappypenguins commented on GitHub (Oct 14, 2021):
Sorry for the noob question, but I am on Linux and I can't find /app/frontend/css/main.css
I looked in /var/lib/docker/containers and also in my Nginx Proxy Manager data folder, but can't find any css files. Where do I find them?
@infeeeee commented on GitHub (Oct 14, 2021):
The issue is fixed, it should be included in one of the future versions, you you shouldn't do anything, just wait.
Btw the mentioned file is inside the container, not visible on the host's filesystem. You have to use
docker exec -it <mycontainerid> shto enter the container, or if you use portainer click on the "Exec console" button. There you can traverse the container's filesystem. https://stackoverflow.com/questions/30172605/how-do-i-get-into-a-docker-containers-shell@threehappypenguins commented on GitHub (Oct 14, 2021):
I can't wait for a future version. I really needed it fixed right now since I need access on my phone since my kids are always using my laptops for school or my husband is on the gaming laptop playing games. Lol
In ConnectBot on my phone I did
docker exec -it nginx-proxy-manager bashand then had to install vim-tiny . I tried nano at first, but it kept freezing everything up. I had no idea how to use vim, but this helped . Anyways, it's all sorted now, and I have access to the menu on my phone.