From e94f53f0e2a8f0873c27814f814132e75239a280 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 10 Jan 2026 11:37:12 -0600 Subject: [PATCH] Add -z-10 isolate hint --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 4ec9e5c..f8f2e62 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1053,6 +1053,7 @@ When users specify color schemes: - Follow shadcn/ui patterns for component variants - Implement responsive design with Tailwind breakpoints - Add hover and focus states for interactive elements +- When using negative z-index (e.g., `-z-10`) for background images or decorative elements, **always add `isolate` to the parent container** to create a local stacking context. Without `isolate`, negative z-index pushes elements behind the page's background color, making them invisible. ## Writing Tests vs Running Tests