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

Navigation menu is misaligned in the mobile browser #399

Closed
s3689 opened this issue Dec 4, 2022 · 5 comments
Closed

Navigation menu is misaligned in the mobile browser #399

s3689 opened this issue Dec 4, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@s3689
Copy link

s3689 commented Dec 4, 2022

What happened?

The layout parameter in params.toml is set to hybrid, the navigation menu is misaligned in the mobile browser,

iOS-Safari

However, there is no problem in the "development tools" mode of the desktop browser, thanks.

chrome-dt

Theme version

v2.4.2

Hugo version

v0.107.0

What browsers are you seeing the problem on?

Chrome, Safari

Relevant Hugo log output

No response
@s3689 s3689 added the bug Something isn't working label Dec 4, 2022
@github-actions
Copy link

github-actions bot commented Jan 4, 2023

This issue has been automatically marked as stale because it has not had any recent activity.
If you are still experiencing this issue, please review the issue history and add a reply with any requested and/or additional information in order to keep the issue open.
This issue will automactically close in 14 days if no further activity occurs.

@github-actions github-actions bot added the stale This issue or pull request has not had any recent activity label Jan 4, 2023
@AntoineSoetewey
Copy link
Contributor

I believe this issue shouldn't be marked as stale as it is still present.

@Nicceboy
Copy link

Nicceboy commented Jan 4, 2023

The problem seems to be indeed related to specific browsers.
Even thought Firefox on iOS uses Safari for rendering, it works fine. But not in the Safari itself.

Edit: Might be related to changed height, caused bottom navigation on iOS safari (where url is located, for example). Navigation seems to fix itself if you scroll down, and Safari hides the bottom bar.

@github-actions github-actions bot removed the stale This issue or pull request has not had any recent activity label Jan 5, 2023
@jpanther
Copy link
Owner

jpanther commented Jan 9, 2023

Thanks for the report. Apologies for my delayed response, I've been super busy! The alignment of things like this is a constant battle because of the way Safari calculates the viewport size and as @Nicceboy suggests, it is probably due to the bottom navigation. I'll have a look into it when I have a moment and see if I can track it down.

@jpanther jpanther added the wip Work in progress label Jan 9, 2023
@leonidboykov
Copy link

Same issue with Chrome on Android.

@github-actions github-actions bot removed the wip Work in progress label Jan 12, 2023
Nicceboy pushed a commit to ouspg/congo that referenced this issue Feb 22, 2023
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