Skip to content

Fix mobile sidebar visibility guard#30

Merged
ootakazuhiko merged 2 commits into
mainfrom
codex/issue168-sidebar-visibility-followup-20260607
Jun 7, 2026
Merged

Fix mobile sidebar visibility guard#30
ootakazuhiko merged 2 commits into
mainfrom
codex/issue168-sidebar-visibility-followup-20260607

Conversation

@ootakazuhiko

@ootakazuhiko ootakazuhiko commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Reinforce the mobile/tablet sidebar closed state with visibility: hidden and a delayed visibility transition.
  • Keep the opened sidebar visible and above the overlay while preserving the existing off-canvas transform fix.
  • This repository has a single tracked mobile-responsive.css, so the guard is applied only to that stylesheet.

Part of itdojp/it-engineer-knowledge-architecture#168.

Verification

  • git diff --check
  • Static CSS guard check for z-index: 999 !important, closed transform: translateX(-100%) !important, closed visibility: hidden, delayed visibility transition, and opened visibility: visible.

Copilot AI review requested due to automatic review settings June 7, 2026 11:20
@ootakazuhiko

Copy link
Copy Markdown
Collaborator Author

@copilot review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR tightens the mobile/tablet sidebar “closed” state so the off-canvas drawer can’t remain visually present (or stack incorrectly) due to later desktop sidebar rules in main.css.

Changes:

  • Forces the mobile/tablet sidebar closed state to use transform: translateX(-100%) !important and visibility: hidden with a delayed visibility transition.
  • Ensures the opened sidebar becomes visibility: visible and keeps its stacking above the overlay via z-index: 999 !important.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown

@copilot review

Reviewed the current PR state. Local QA passed (npm ci, npm test, npm audit) and there are no additional code changes needed at this time.

@ootakazuhiko

Copy link
Copy Markdown
Collaborator Author

@copilot review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants