Skip to content

Conversation

@anselmbradford
Copy link
Member

@anselmbradford anselmbradford commented Oct 16, 2025

regulations listings table of contents uses custom pattern at https://www.consumerfinance.gov/rules-policy/regulations/

It should use a list link pattern instead https://cfpb.github.io/design-system/components/links#list-link

Changes

  • Update regs TOC to use list links.

How to test this PR

  1. Pull branch and yarn build && ./runserver.sh and visit http://localhost:8000/rules-policy/regulations/ and resize to mobile. Set the date of a reg into the future on admin/regulations3k/effectiveversion/?part=2 to show the nested list.

Screenshots

Before After
Screenshot 2025-10-16 at 2 41 32 PM Screenshot 2025-11-04 at 12 27 31 PM
Screenshot 2025-10-16 at 2 41 41 PM Screenshot 2025-11-04 at 12 27 42 PM

Notes and todos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants