Skip to content
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

Fixbug 1.0 (Removing First Page Errors) #4

Closed
wants to merge 2 commits into from

Conversation

prakhargvp
Copy link

[Error] index.js:1446 Warning: Material-UI: you are using the deprecated typography variants that will be removed in the next major release.
Please read the migration guide under https://material-ui.com/style/typography#migration-to-typography-v2
[Reference-Url]  https://material-ui.com/style/typography/#migration-to-typography-v2
[Error]
Warning: Material-UI: the `MuiListItem` component increases the CSS specificity of the `selected` internal state.
You can not override it like this: 
{
  "button": {
    "&:hover, &:focus": {
      "backgroundColor": "#F3F5FF"
    }
  },
  "selected": {
    "backgroundColor": "#F3F5FF !important",
    "&:focus": {
      "backgroundColor": "#F3F5FF"
    }
  }
}

Instead, you need to use the $ruleName syntax:
{
  "&$selected": {
    "backgroundColor": "#F3F5FF !important",
    "&:focus": {
      "backgroundColor": "#F3F5FF"
    }
  }
}
https://material-ui.com/customization/overrides#internal-states

[Reference-Url] https://material-ui.com/customization/overrides/#use-rulename-to-reference-a-local-rule-within-the-same-style-sheet

Error Screenshots

Screenshot from 2019-05-11 16-06-32

Screenshot After removing bug

Screenshot from 2019-05-11 19-07-40

@kappaxbeta
Copy link

The<Typography variant="headline" color="textSecondary"> makes problems for example in
react-material-admin/src/pages/dashboard/Dashboard.js

The variant headline is not working

@michaeldaineka
Copy link
Contributor

Hi! Thank you for submitting! but we already released new commit that deals with these problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants