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

HTML errors #62

Open
apavlushina opened this issue Dec 9, 2019 · 1 comment
Open

HTML errors #62

apavlushina opened this issue Dec 9, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@apavlushina
Copy link
Collaborator

apavlushina commented Dec 9, 2019

By default a lot of components from Material-UI have tags <p> (paragraph).
It causes a lot of errors, because than we have inside lists (<ul>) and (<div>), but it is not allowed by html semantic.
So a lot of components should change the type from <p> to <div>, like that:

<Typography component='div'>

errors

@apavlushina apavlushina added the bug Something isn't working label Dec 9, 2019
@hakan-kemal
Copy link
Contributor

I believe in some cases the Typography components can be removed all together and actually don't need to be used. Please carefully read and parse the code shared between parent/child components to decide the best way to change/clean the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants