• 
      

    Fix config form nav item text styling.

    Review Request #15257 — Created Aug. 28, 2026 and submitted — Latest diff uploaded

    Information

    Djblets
    release-7.x

    Reviewers

    In commit 42f0740 I fixed config form button text styling by adding a
    :not(.btn, .ink-c-button) to an a rule in .djblets-c-config-forms-page.
    This ended up affecting the styling for config form nav items. When it
    was previously just a plain a selector, it would tie with
    .djblets-c-config-forms-page-nav__item then lose according to source
    order, so the nav items had the right text styling. But now the :not()
    makes it win over the nav item rule, so <a> nav items all have the
    blue link text color now (which was apparent in Review Board's account
    preferences sidebar menu).

    This change moves the a:not(...) rule into
    .djblets-c-config-forms-page__content. That way the rule still applies
    to the content of config forms, and then sibling elements like the
    navigation sidebar can define their own rules.

    • Viewed the account preferences page in Review Board and saw the
      sidebar text color was fixed.

    Commits

    Files