mui / material-ui

Material UI: Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
https://mui.com/material-ui/
MIT License
92.38k stars 31.81k forks source link

[docs-infra] Overflow in API view on mobile #42423

Open oliviertassinari opened 1 month ago

oliviertassinari commented 1 month ago

Steps to reproduce

Link to live example: (required)

Steps:

  1. Open https://next--material-ui.netlify.app/x/api/data-grid/data-grid/
  2. Booms
SCR-20240528-dtgr

Current behavior

Overflow

Expected behavior

Text wrap

Context

It seems that it can be fixed by removing this line https://github.com/mui/material-ui/blob/3c402bc83c6a3416ac2681de996c59758e2cb4cd/docs/src/modules/components/ApiPage/list/ExpandableApiItem.tsx#L47

Your environment

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```

Search keywords: -

oliviertassinari commented 1 month ago

At the same time, I would update the test page https://next--material-ui.netlify.app/experiments/docs/data-grid-premium/#slots to replicate https://next--material-ui.netlify.app/x/api/data-grid/data-grid-premium/.