alphagov / govuk_frontend_toolkit

❗️GOV.UK Frontend Toolkit is deprecated, and will only receive major bug fixes and security patches.
MIT License
403 stars 107 forks source link

Breadcrumb anchor link styling #379

Closed alecgibson closed 7 years ago

alecgibson commented 7 years ago

This style any breadcrumbs linking to anchors on the current page. This is used in conjunction with https://github.com/alphagov/govuk_navigation_helpers/pull/30 to show users which page they are currently on, when browsing the new taxonomy.

Before: govuk_frontend_toolkit-current-breadcrumb-before

After: govuk_frontend_toolkit-current-breadcrumb-after

Trello: https://trello.com/c/MVM5bueS/386-add-current-page-to-taxonomy-breadcrumbs

alecgibson commented 7 years ago

As pointed out by @tijmenb if people think it's more appropriate, this change could live in static rather than govuk_frontend_toolkit.

alecgibson commented 7 years ago

Moving this change to static: https://github.com/alphagov/static/pull/901