material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[docs-infra] Make the whole header clickable

Open oliviertassinari opened this issue 2 years ago • 3 comments

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.

oliviertassinari avatar Oct 08 '23 21:10 oliviertassinari

Hey @oliviertassinari , I'll work on this issue, assign this issue to me please

shubham168 avatar Oct 10 '23 09:10 shubham168

Hi @oliviertassinari i want work on this issue assign this issue to me

diksha1627 avatar Oct 13 '23 12:10 diksha1627

hi @shubham168

Zain-RT avatar Oct 13 '23 23:10 Zain-RT

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.

oliviertassinari avatar Apr 21 '24 16:04 oliviertassinari