Fix mobile TOC accordion stuck open#19338
Conversation
The accordion-content div had a Tailwind .flex utility class that won out over the display: none rule from docs/_docs-main.scss (imported inside @layer components), preventing the accordion from collapsing on mobile. Dropping the flex class lets the SCSS cascade control show/hide again. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Pre-merge Review — Last updated 2026-05-22T13:54:28ZTip Summary: Infra change to Review confidence:
Investigation log
🔍 Verification trailNo verifiable claims extracted from this diff. 🚨 Outstanding in this PRNo outstanding findings in this PR.
|
|
Your site preview for commit 4b1c4ef is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-19338-4b1c4ef6.s3-website.us-west-2.amazonaws.com |
Lighthouse Performance ReportCommit: 4b1c4ef | Metric definitions
|
Generated description of changes:
Proposed changes
The accordion-content div in the docs table-of-contents partial had a Tailwind
.flexutility class that won out over thedisplay: nonerule fromdocs/_docs-main.scss(imported inside@layer components), preventing#accordion-table-of-contentsfrom collapsing on mobile. Dropping theflexclass lets the SCSS cascade control show/hide again.