Skip to content

In mobile view navbar hiding issue fixed#2084

Open
adidotio wants to merge 1 commit intojson-schema-org:mainfrom
adidotio:navbar-fixed-for-mobile
Open

In mobile view navbar hiding issue fixed#2084
adidotio wants to merge 1 commit intojson-schema-org:mainfrom
adidotio:navbar-fixed-for-mobile

Conversation

@adidotio
Copy link
Copy Markdown

@adidotio adidotio commented Jan 9, 2026

What kind of change does this PR introduce?

Bugfix (UI / responsive layout)

Issue Number:

Screenshots/videos:

Before

image

After

image

If relevant, did you update the documentation?

Not required — this change fixes a UI rendering issue and does not affect documentation.

Summary

This PR fixes a layout issue on mobile devices where the primary navigation bar overlapped and hid the page content when the menu was opened.

When viewing the website in mobile mode and clicking the menu icon, the dropdown was displayed on top of the page content without adjusting the page layout, making parts of the content inaccessible. This resulted in a poor user experience, especially for users navigating documentation and tools on smaller screens.

The fix ensures that when the mobile navigation dropdown is opened, the page layout adjusts correctly so that content remains visible and accessible instead of being hidden behind the navigation bar.

This resolves the behavior reported in #1578.

Does this PR introduce a breaking change?

No — this is a non-breaking UI fix that only improves responsive behavior on mobile devices.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

@adidotio adidotio requested a review from a team as a code owner January 9, 2026 17:26
@github-project-automation github-project-automation bot moved this to Ready to review in PR - Triage Group Jan 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 9, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 0facc3e

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (aa0a2ff) to head (0facc3e).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2084   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          633       633           
  Branches       196       196           
=========================================
  Hits           633       633           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AgniveshChaubey
Copy link
Copy Markdown
Collaborator

Hi @TsTarK85, since there’s already an active PR for this issue, we’ll review whether this smaller change can be merged into it. We’ll follow up shortly

{
'pt-48': showMobileNav,
'pt-4': !showMobileNav,
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a comment for similar code here

@adidotio
Copy link
Copy Markdown
Author

sure sir looking forward to contribute more and also for some positive review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready to review

Development

Successfully merging this pull request may close these issues.

🐛 Bug: In mobile, Nav bar is hiding the content of the page.

2 participants