[docs] Missing body styles from CssBaseline in light mode #24970
Labels
bug 🐛
Something doesn't work
docs
Improvements or additions to the documentation
package: styled-engine
Specific to @mui/styled-engine
priority: important
This change can make a difference
Milestone
Current Behavior 😯
The clock of the TimePicker has the default browser font.
The global
<body>
styles responsible for e.g.font-family
are missing in the production build of our docs in light mode.Expected Behavior 🤔
Global
<body>
styles should not be missing to render the correct font of the TimePickerSteps to Reproduce 🕹
Steps:
Context 🔦
When doing client-side rendering it seems to work for dev and prod environments (dev: https://codesandbox.io/s/missing-body-styles-in-cssbaseline-bg7u9, prod: https://csb-bg7u9-adtydwa76.vercel.app).
But for our docs it's only working in dev but not prod.
Your Environment 🌎
Using Chrome
`npx @material-ui/envinfo`
The text was updated successfully, but these errors were encountered: