Skip to content

Scope ProjectCard glow to image container; add pointer-events-none and aria-hidden#90

Draft
amar-295 with Copilot wants to merge 2 commits into
aurora-project-card-glow-3706439520198146184from
copilot/sub-pr-89
Draft

Scope ProjectCard glow to image container; add pointer-events-none and aria-hidden#90
amar-295 with Copilot wants to merge 2 commits into
aurora-project-card-glow-3706439520198146184from
copilot/sub-pr-89

Conversation

Copilot AI commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

The absolute glow element was positioned relative to the entire image column wrapper, which also contains the mobile-only buttons. This caused the glow to paint above the buttons on small screens, blocking clicks and degrading contrast.

Changes

  • Scoped glow to image only: Introduced an inner relative group wrapper around just the image container. Mobile buttons are now siblings outside this stacking context.
  • pointer-events-none: Prevents the decorative overlay from intercepting any input events.
  • aria-hidden="true": Hides the purely decorative element from assistive technologies.
{/* Before: glow scoped to entire column including mobile buttons */}
<div className="w-full lg:w-5/12 relative group">
  <div className="absolute -inset-1 bg-gradient-to-r ..."></div>
  <div className="relative ... aspect-video">...</div>
  {/* Mobile buttons could be overlaid by glow ↑ */}
  <div className="lg:hidden">...</div>
</div>

{/* After: glow scoped to image wrapper only */}
<div className="w-full lg:w-5/12">
  <div className="relative group">
    <div className="absolute -inset-1 ... pointer-events-none" aria-hidden="true"></div>
    <div className="relative ... aspect-video">...</div>
  </div>
  {/* Mobile buttons are outside the glow's stacking context */}
  <div className="lg:hidden">...</div>
</div>

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel

vercel Bot commented Mar 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-portfolio Error Error Mar 12, 2026 0:46am

…ard glow

Co-authored-by: amar-295 <233091910+amar-295@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI commented Mar 12, 2026

Copy link
Copy Markdown
Contributor Author

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/react-portfolio/react-portfolio/node_modules/.bin/vite build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] [WIP] Address feedback on Project Card Glow Enhancement Scope ProjectCard glow to image container; add pointer-events-none and aria-hidden Mar 12, 2026
Claude AI added a commit that referenced this pull request Mar 17, 2026
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.

2 participants