mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-02 11:45:20 +02:00
80af7570a2
The security shield sits at position: absolute, top: 6px, right: 8px with z-index: 10 in the sidepanel header. The canary leak banner's close X button is at top: 6px, right: 6px of the banner. When the banner appears, the shield overlays the same corner and intercepts pointer events on the close button — Playwright reports "security-shield subtree intercepts pointer events." Caught by the new sidepanel DOM test (security-sidepanel-dom.test.ts) clicking #security-banner-close. Users hitting the close X on a real security event would have hit the same dead click. Fix: bump .security-banner to z-index: 20 so its controls sit above the shield. Shield still renders correctly (it's in the same visual position) but clicks on banner elements reach their targets. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>