Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Style nested `<ul>`s with circles instead of normal bullets #10358
Discovered while working on #10303 that we style nested unordered lists with a normal bullet, instead of
In the Chrome user agent styles, for instance, you can see the default is overridden:
This adds a rule to the editor stylesheets to handle nested styles.
Here's the before:
And here's the after:
One small implementation note: I've removed a
I expect this to be slightly controversial, but this is intentional to avoid a selector specificity issue. Basically,
tofumatt left a comment
This makes a lot more sense to me code-wise. The editor styles specifically
I haven't tested this locally but I prefer this approach.