mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.23k stars 32.09k forks source link

[docs-infra] Missing font in iframe #38765

Open oliviertassinari opened 1 year ago

oliviertassinari commented 1 year ago

Steps to reproduce 🕹

Link to live example:

Steps:

  1. Open https://mui.com/material-ui/react-app-bar/#responsive-app-bar-with-drawer

https://github.com/mui/material-ui/blob/20d036754e33ad9f27a45663cedf273884f631c1/docs/data/material/components/app-bar/app-bar.md#L39

Current behavior 😯

See how the font loaded is not Roboto

Screenshot 2023-09-03 at 00 31 24

Expected behavior 🤔

Roboto is used:

Screenshot 2023-09-03 at 00 33 01

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. ```
gitstart commented 1 year ago

@oliviertassinari we would like to pick this up

stgeer commented 11 months ago

Keen to contribute, and learn! Can you assign this one to me pls?

danilo-leal commented 10 months ago

Pinging you @gitstart as you arrived it first 😬 Feel free to pick this one up!