[docs-infra] Make the whole header clickable
Summary 💡
Make the whole header clickable, not just the anchor link
https://github.com/mui/material-ui/assets/3165635/05a3d76f-011e-4938-b177-1ed371b3357d
Examples 🌈
- https://stripe.com/docs/payments/paypal#disputed-payments
- https://tailwindcss.com/docs/customizing-spacing#extending-the-default-spacing-scale
Motivation 🔦
Faster to select to then copy the URL.
However:
- copying the URL directly feels wrong, "do not erase my clipboard!"
- we should still be able to select the text as before, I have only seen https://stripe.com/docs/payments/paypal#minimum-and-maximum-charge-amounts do this correctly.
Hey @oliviertassinari , I'll work on this issue, assign this issue to me please
Hi @oliviertassinari i want work on this issue assign this issue to me
hi @shubham168
I'm reopening to track https://github.com/mui/material-ui/pull/39603#pullrequestreview-2013190149, it's not clear that we took a step forward yet, we made one dimension significantly better, and another one significantly worse.