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

Navbar menu search at mobile size #130

Closed
sporeventexplosion opened this issue Mar 5, 2016 · 3 comments · Fixed by #427 or #472
Closed

Navbar menu search at mobile size #130

sporeventexplosion opened this issue Mar 5, 2016 · 3 comments · Fixed by #427 or #472
Assignees
Labels
Area: Frontend Related to HTML, JS, CSS, or other browser things Priority: Normal Type: Bug

Comments

@sporeventexplosion
Copy link

Description (What went wrong?):
The current Bootstrap CSS for the navbar search seems broken when at mobile resolution (i.e. the resolution which makes the hamburger menu show). The search bar becomes very narrow, pulled to the right, and shows white bars above and below (may be because of a "hack" used to display the search bar).

Reproduction Steps (What did you do?):
Resize the window width until the navbar menu changes to a hamburger menu button, open the menu, and the broken search bar can be seen.

Expected Behavior (What do you think should have happened instead?):
First, the white lines possibly should not be present, and it may be better if the search bar filled the whole width of the menu instead.

Also, the issue doesn't seem to exist when using the example navbar from Bootstrap, so this is likely because of custom styling.

Environment (OS/Browser/Plugins/etc):
Should be a browser-independent CSS problem. Reproduced in either Firefox or Chrome

@sporeventexplosion
Copy link
Author

image
Seems to have something to do with float: right that applied regardless of media query. The search box was fine when I disabled the property (see image);

@HebaruSan
Copy link
Contributor

The original description sounds familiar for anonymous users:

image

But for logged in users, the search bar disappears completely in mobile:

image

Also the Log Out option is gone, bizarrely.

@HebaruSan
Copy link
Contributor

Also the Log Out option is gone, bizarrely.

Aha! The menu scrolls vertically! And that's also where the search box was:

image

@HebaruSan HebaruSan self-assigned this Nov 10, 2021
@HebaruSan HebaruSan linked a pull request Nov 10, 2021 that will close this issue
This was referenced Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend Related to HTML, JS, CSS, or other browser things Priority: Normal Type: Bug
Projects
None yet
3 participants