gbdev / pandocs

The single, most comprehensive Game Boy technical reference.
https://gbdev.io/pandocs/
Creative Commons Zero v1.0 Universal
599 stars 92 forks source link

Why are there commas before h2 elements? #70

Closed RetroEdit closed 3 years ago

RetroEdit commented 3 years ago

I noticed something while I was casually perusing Pan Docs.

In this CSS file: https://gbdev.io/pandocs/assets/css/0.styles.ba7fe2d2.css

h2 :before{content:",\2009"}

This pseudo-element seems like an odd choice. It makes all the mouse hover-triggered # anchor links on the left side of h2 headers have a comma before them, which looks wrong.

avivace commented 3 years ago

I have honestly no idea, probably something coming from upstream Vuepress? Should be fixed

RetroEdit commented 3 years ago

Should be fixed

@avivace How will it be fixed? Shouldn't it be as simple as just editing the CSS file and removing that specific rule, or is there more overhead?

(it doesn't appear to be fixed yet, if that's what you were saying)

avivace commented 3 years ago

Oopsies, forgot to push