Fix Configuration sub-nav indent lost to CSS specificity #139
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/page-index-sub-indent"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What does this PR do?
Follow-up bug fix to D-0058. The nested section index rendered with no visible indent: JetPack allowlist and DoH blocklist sat flush under Routers instead of indented with a left border.
Cause: the
.page-index ulreset (list-style/margin/padding) has specificity (0,1,1), which outranks the single-class.page-index-subrule (0,1,0). Itsmargin: 0/padding: 0therefore overrode the sub-list'smargin-left/padding-left, collapsing the indent. Qualifying the selector as.page-index .page-index-sub(0,2,0) restores the intended indent and left border. The narrow-screendisplay: contentschip-strip behaviour is unchanged.Fixes #
How was this tested?
dotnet build- unaffected (CSS-only change; no code touched)dotnet test- unaffected (no test asserts on computed CSS)Checklist