URL:
https://nodejs-pxw2fivbz-openjs.vercel.app/en/learn/modules/publishing-a-package
Browser Name:
Brave (Chromium)
Browser Version:
131.0.6778.108
Operating System:
macOS 14.6
How to reproduce the issue:
In the above, I would expect the color of require() to be the same as the link colour (green).
I believe the current is unintentional, and due to the style of main code having the same css specificity than main a (both 0,0,2), but last wins, and main code occurs after.
I think color of link should have higher specificity to ensure it is not overridden.
URL:
https://nodejs-pxw2fivbz-openjs.vercel.app/en/learn/modules/publishing-a-package
Browser Name:
Brave (Chromium)
Browser Version:
131.0.6778.108
Operating System:
macOS 14.6
How to reproduce the issue:
In the above, I would expect the
colorofrequire()to be the same as the link colour (green).I believe the current is unintentional, and due to the style of
main codehaving the same css specificity thanmain a(both0,0,2), but last wins, andmain codeoccurs after.I think
colorof link should have higher specificity to ensure it is not overridden.