LM-EFFECT-002
Audit inconsistent z-index values
A rare z-index is separated from the project’s other observed levels by a large gap.
A layer value sits far from the others
Name the overlay role and align it with the stacking scale; third-party widgets may need an explicit exception.
Source example
What this finding can look like
The exact candidate comes from the project’s own tokens and repeated values. This example shows the shape of the issue, not a universal replacement.
.header { z-index: 10; }
.tooltip { z-index: 9999; }:root { --layer-header: 10; --layer-tooltip: 30; }
.tooltip { z-index: var(--layer-tooltip); }Resolution workflow
Fix the source without erasing intent
- Inspect
Review every reported occurrence and the established candidates Ledgermachine found in the same project.
- Decide
Name the overlay role and align it with the stacking scale; third-party widgets may need an explicit exception.
- Verify
Make the change in your editor or coding agent, then rescan. Ledgermachine stays read-only and records whether the finding cleared.
Run it on your source
See the evidence behind this rule.
Open a folder locally, inspect the exact occurrences, and decide whether to repair or preserve the difference.
Open Ledgermachine
LEDGERMACHINE