[material-ui][CssBaseline] Margin not being set to 0 on headers in Next.js #40443
Labels
component: CssBaseline
The React component
nextjs
package: material-ui
Specific to @mui/material
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
Steps to reproduce
Link to live example: https://space-traders-orpin.vercel.app/
View code here:
vim-diesel/mui-issue-github-example3
Steps:
Current behavior
There is a margin applied to all headers.
Expected behavior
A proper CSS Reset should remove this.
Context
Open up the live example and remove the rule that applies a margin of 0 to all element and the margin gets appears. This should already be applied by a css reset.
Your environment
System:npx @mui/envinfo
Binaries:
Browsers:
npmPackages:
Search keywords: cssbaseline, css, margin, padding
The text was updated successfully, but these errors were encountered: