Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Navbar Icons don't display correctly on mobile if they are too wide. #197

Open
Dr-Ari-Gami opened this issue Sep 13, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@Dr-Ari-Gami
Copy link

With just a few plugins installed that add navbar indicators, on mobile they run off the screen. It would be nice if if they horizontally scrolled.

Example Screenshot of Issue

I'd submit a pr, but It's been a few years since I've done web development.

@LazeMSS
Copy link
Owner

LazeMSS commented Sep 13, 2021

I had it working in a release but it caused problems with plugins overflowing with popovers etc.

I'm still working on a solution

@electronicm
Copy link

Would it make sense to determine the height of the div via JS and move all content downwards accordingly?

What I could well imagine would be the same mechanism as is used for the tabs in the main section. So that all icons that exceed the display width are in a dropdown.

However, I see the display of the DisplayLayerProgress plugin as a fundamental problem. Due to the display of long text, this is not suitable for small display areas. Should the developer be involved in solving the problem?

@LazeMSS
Copy link
Owner

LazeMSS commented Sep 13, 2021

Yes but it would require a resize event handler - I did 90% of the work in CSS and a bit of js - but hiding the overflow caused the popovers etc. for some plugins to be hidden.

I think I will do a complete rewrite where its handle ind a better way to have the icons in a pull down fasion - still testing a lot of ideas.

@LazeMSS LazeMSS added the bug Something isn't working label Oct 1, 2021
@borkedporcupine
Copy link

Capture

I have a similar issue when using a smaller screen. I'm assuming it's related to the same problem/solution. Buttons render on top of others making them inaccessible. If not related I can open a separate issue.

@LazeMSS
Copy link
Owner

LazeMSS commented Oct 25, 2021

It is related - this is also "a problem" without UI Customizer

@LazeMSS LazeMSS changed the title Navbar Icons don't display correctly on mobile if they are too wide. [BUG] Navbar Icons don't display correctly on mobile if they are too wide. May 21, 2022
@NilsRo
Copy link

NilsRo commented Jan 4, 2023

Perhaps you can do the same and put all LI elements into a dropdown. Would not looks that nice but the UI will stay accessible.
IMG_0161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants