mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 08:47:23 +00:00
Add -z-10 isolate hint
This commit is contained in:
1 file changed
+1
@@ -1053,6 +1053,7 @@ When users specify color schemes:
|
|||||||
- Follow shadcn/ui patterns for component variants
|
- Follow shadcn/ui patterns for component variants
|
||||||
- Implement responsive design with Tailwind breakpoints
|
- Implement responsive design with Tailwind breakpoints
|
||||||
- Add hover and focus states for interactive elements
|
- 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
|
## Writing Tests vs Running Tests
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user