Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print CSS classes are incorrectly identified as components #4532

Open
andysellick opened this issue Jan 8, 2025 · 0 comments
Open

Print CSS classes are incorrectly identified as components #4532

andysellick opened this issue Jan 8, 2025 · 0 comments

Comments

@andysellick
Copy link
Contributor

We have some print styles that are prefixed with gem-c-. This class prefix is used with the GOV.UK browser extension to highlight components on the page, which means that things that aren't components are highlighted.

Specific classes:

  • gem-c-force-print-link-styles
  • gem-c-force-print-link-styles-within

We should rename these to prefix with just gem- as gem-c- should be reserved for components.

Example: https://www.gov.uk/government/publications/car-show-me-tell-me-vehicle-safety-questions/car-show-me-tell-me-vehicle-safety-questions

Image

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

No branches or pull requests

1 participant