Styling suggestion: using padding instead of margin for anchor headings

The targeted anchor heading can be cutted by the mobile top breadcrumb. For example:

If replace the headings’ margin property with padding property, problem solved.

Screen Shot 2022-03-15 at 11.36.44 PM

just a quick sugeestion :slight_smile:

1 Like

Hi @Peiwen_Lu and welcome to the community :wave:

Thanks for pointing this out. Since the devs aren’t active on this forum, it would be great if you could report this on MDN Yari (the platform that powers MDN).

Have a nice day,
Michael

1 Like

Hi Michael, thank you very much for your quick reply. I’ll report on MDN Yari.

Have a nice day!

2 Likes