[docs-infra] Missing font in iframe
Open
Nobody has claimed this yet.
scope: docs-infra
type: bug
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce 🕹
Link to live example:
Steps:
Current behavior 😯
See how the font loaded is not Roboto
Expected behavior 🤔
Roboto is used:
Context 🔦
Noticed in https://github.com/mui/material-ui/pull/38684#issuecomment-1699983886
I guess we can fix this in https://github.com/mui/material-ui/blob/20d036754e33ad9f27a45663cedf273884f631c1/docs/src/modules/components/DemoSandbox.js#L19
Your environment 🌎
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docs/src/modules/components/DemoSandbox.js and reproduce the responsive app-bar example linked from docs/data/material/components/app-bar/app-bar.md. Check how the iframe loads its font, then verify the example uses Roboto as shown in the expected screenshot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100