-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huge Icons and Messed Up CSS After Building and Deploying #2783
Comments
Hi, and thanks for reporting the issue. We can't replicate it (see https://marmelab.com/react-admin-demo/, which is developped with react-admin 2.6, built, and deployed on a CDN). Without further details about your problem (console errors, CodeSandbox), we won't be able to fix it. Can you please help us reproduce your issue? |
Hello, There was some dependency differences between our project and your demo. I matched the dependencies to be identical to the demo and also removed all dependencies that may have Materialize in them which included react google login. After that, the page is rendering correctly. Thank you for your response, |
@edgardz Please double check your dependencies versions (especially material-ui core and icons). If still reproduce this issue then please provide a codesandbox to help debugging it |
Yeah!
Thank you very much @djhi |
I've the same red text color and big icons bug. I fix the version like @edgardz but that does not change anything.
|
@jbeurel i have the same issue, did you resolve it? |
for anyone here, it is due to conflict of classnames stated in this thread mui/material-ui#8223, and i use |
Hi @roychoo Could you copy/paste some code example of your workaround? |
https://material-ui.com/customization/css-in-js/#creategenerateclassname-options-class-name-generator @jbeurel in the examples of this link Sorry was on the road, hard to paste the code Here it is
|
What you were expecting:
This app is a full stack PERN app (pgsql, express, react, node). After building and logging into the app, everything looks fine.
What happened instead:
Upon any subsequent reload, whether it's going to the url or hitting refresh, this happens. The icons get huge and all the styling gets busted.
Steps to reproduce:
Build a full PERN stack app, build, and deploy it.
Environment
The text was updated successfully, but these errors were encountered: