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

Docs: weird comment color in CSS/Sass variables lists last item #2445

Open
julien-deramond opened this issue Dec 28, 2023 · 0 comments
Open
Labels
bug docs Improvements or additions to documentation

Comments

@julien-deramond
Copy link
Member

Description

Our documentation in the "CSS" sections of components shows either the CSS or Sass variables from a shortcode.

There's a weird rendering observed for instance in https://boosted.orange.com/docs/5.3/components/close-button/#variables where the last "// Boosted mod" is rendered blue instead of gray. It happens only when the last variable has a comment at the end of the line.

Screenshot 2023-12-28 at 15 12 20

The DOM isn't the same for this last element when the syntax highlighting is done.

@julien-deramond julien-deramond added bug docs Improvements or additions to documentation labels Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant