Skip to content

Fix hidden Core Areas panel on homepage#1

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-d342
Draft

Fix hidden Core Areas panel on homepage#1
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-d342

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 1, 2026

Summary

  • Scope legacy accordion .focus-panel collapse styles to .focus-accordion-item .focus-panel
  • Prevent the homepage Core Areas tab panel from inheriting max-height: 0 and opacity: 0

Bug and Impact

The homepage Core Areas carousel renders its detail panel as #focusPanel.focus-panel, but a later legacy accordion rule targets every .focus-panel. Because it appears later in styles.css, it overrides the carousel panel with max-height: 0, overflow: hidden, opacity: 0, and collapsed padding. The result is significant user-facing breakage: the Core Areas description panel is hidden for all visitors.

Root Cause

Legacy accordion styles used a broad .focus-panel selector after the newer carousel panel styles, so the CSS cascade collapsed the live homepage panel even though it is not inside accordion markup.

Fix

Changed the legacy accordion selectors to .focus-accordion-item .focus-panel and .focus-accordion-item .focus-panel p, preserving accordion behavior without affecting the homepage carousel panel.

Validation

  • Ran static validation over 5 HTML files for local links/assets and duplicate IDs
  • Verified CSS url() assets exist
  • Added a regression guard in the validation command that fails if an unscoped .focus-panel { max-height: 0 } rule returns
  • Confirmed index.html uses #focusPanel.focus-panel outside .focus-accordion-item

Note: node is not installed in this runner, so node --check inline-script syntax validation was unavailable.

Open in Web View Automation 

Co-authored-by: pa7ch3s <Pa7ch3s@users.noreply.github.com>
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.

1 participant