dair-ai / dair-ai/Prompt-Engineering-Guide

Mobile: Navigation Menu Hidden by <nav> Element

Open
#709 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
78.3k
Forks
8.6k
PR merge metrics
No merged PRs in 30d

Description

# Bug Description

When the mobile navigation menu (accessed via the burger icon) is opened on a small viewport, the main element on the page is incorrectly rendered above the menu overlay. This is a z-index issue that causes a significant portion of the mobile menu to be obscured, making it unusable for users.

https://github.com/user-attachments/assets/14911e7d-3512-4c94-a163-075cd84e3f50

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the burger-menu overlay at a small viewport, then trace the mobile navigation and the main element in the frontend styles. Check the z-index rules affecting both layers. Done means the opened mobile menu remains fully above the page navigation and is usable without obscured content.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.