Skip to content

fix: settings sidebar overlap and z-index issues on small screens#1134

Closed
vianmora wants to merge 1 commit intoHiEventsDev:developfrom
vianmora:bugfix/issue-1133-settings-sidebar-overlap
Closed

fix: settings sidebar overlap and z-index issues on small screens#1134
vianmora wants to merge 1 commit intoHiEventsDev:developfrom
vianmora:bugfix/issue-1133-settings-sidebar-overlap

Conversation

@vianmora
Copy link
Copy Markdown
Contributor

@vianmora vianmora commented Mar 30, 2026

Fixes #1133

On ~13" screens (~1280px wide), the app sidebar consumes 280px, leaving ~936px for the content area. The previous useMediaQuery('(min-width: 1200px)') viewport breakpoint triggered the two-column layout (1280 > 1200) even when the available space was too narrow, causing the inner settings navigation to be hidden behind settings panels or overlapped by Mantine form components.

Changes:

  • Replace useMediaQuery viewport check with CSS container queries in event/Settings and organizer/Settings — the two-column layout now responds to the actual available container width, not the viewport
  • Add z-index: 10 on the sticky inner navigation sidebar to prevent Mantine components (Select, DatePicker…) from rendering on top of it
  • Raise the z-index of the app sidebar toggle button from 5 to 20 so it stays accessible above the inner nav sidebar

Container query threshold (1000px):

Screen App sidebar Available width Layout
13" (1280px) open (280px) ~936px stacked — nav on top ✓
13" (1280px) closed ~1216px two-column ✓
Large (1440px+) open ~1096px two-column ✓

Checklist

  • I have read the contributing guidelines.
  • My code is of good quality and follows the coding standards of the project.
  • I have tested my changes, and they work as expected.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 30, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@vianmora vianmora force-pushed the bugfix/issue-1133-settings-sidebar-overlap branch 2 times, most recently from dbd08e9 to 18f2f1b Compare March 30, 2026 14:26
Replace viewport-based useMediaQuery with CSS container queries so the
two-column layout (nav sidebar + content) responds to the actual available
container width rather than the full viewport. This prevents the inner
navigation from being hidden behind settings panels on ~13" screens where
the app sidebar consumes 280px of the viewport.

Also raises the z-index of the sidebar toggle button above the inner
navigation sidebar to prevent it from being obscured when the app
sidebar is closed.

Fixes HiEventsDev#1133
@vianmora vianmora force-pushed the bugfix/issue-1133-settings-sidebar-overlap branch from 18f2f1b to 7442004 Compare March 30, 2026 14:31
@daveearley
Copy link
Copy Markdown
Contributor

Closing as this issue is not reproducible. See #1133 (comment)

@daveearley daveearley closed this Apr 4, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Settings page: inner navigation sidebar hidden behind content on ~13" screens

2 participants