Skip to content

Fix mobile sidebar visibility guard#171

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

Fix mobile sidebar visibility guard#171
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.
  • Apply the same guard to each tracked mobile-responsive.css copy in this repository to avoid asset drift.

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

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://itdojp.github.io/ai-testing-strategy-book/pr-preview/pr-171/

Built to branch gh-pages at 2026-06-07 11:33 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

📚 Preview Deployment

Your changes have been deployed to a preview environment:

🔗 Preview URL: https://itdojp.github.io/ai-testing-strategy-book/pr-preview/pr-171/


Preview Details
  • Branch: codex/issue168-sidebar-visibility-followup-20260607
  • Commit: e779a5b
  • Updated: Sun, 07 Jun 2026 11:33:21 GMT

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown

@copilot review

Reviewed the current PR state and reran light validation. No additional code changes are required at this time.

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 hardens the mobile/tablet off-canvas sidebar behavior by ensuring the closed state is not only translated off-screen, but also visibility: hidden (with a delayed visibility transition), while keeping the opened state visible and layered above the dimming overlay. The same guard is applied to both tracked copies of mobile-responsive.css in the repository.

Changes:

  • Update the mobile/tablet .book-sidebar closed state to include visibility: hidden plus a delayed visibility transition alongside the existing off-canvas transform.
  • Ensure the opened (checked) sidebar explicitly restores visibility: visible while preserving the transform-based opening behavior.
  • Mirror the same CSS adjustments into the duplicated mobile-responsive.css copy.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/assets/css/mobile-responsive.css Adds visibility + delayed transition to the closed mobile sidebar state; restores visibility when opened.
ai-testing-strategy-book/docs/assets/css/mobile-responsive.css Mirrors the same mobile sidebar visibility/transition guard in the duplicated stylesheet copy.

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

@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