mirror of
https://github.com/smittix/intercept.git
synced 2026-07-16 13:28:11 -07:00
fix: restore lightbox fixed positioning on GitHub Pages site
The body > *:not(#bg-canvas) rule carried ID-level specificity (1,0,1) which overrode .lightbox's position:fixed and z-index:1000, leaving the overlay stuck in document flow and invisible. Excluding #lightbox from that rule lets the lightbox CSS take effect correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > *:not(#bg-canvas) {
|
body > *:not(#bg-canvas):not(#lightbox) {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user