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

🐛 Fix body padding issue when select dropdown in MUI #123

Merged
merged 2 commits into from
Mar 25, 2023

Conversation

nightfallb612
Copy link
Collaborator

[Problem]
Material-UI adds padding to the body tag when select filter ( lessons & times )

[Cause]
This behavior is caused by the design decision of the MUI Select component. In the DOM structure generated by the MUI Select component, the input element created in the renderValue method of the Select component and the Menu component are at the same level.

[Fixed]
Chage MUI Select component to html select element.

[TODO]
Add more styling about select element.

@netlify
Copy link

netlify bot commented Mar 25, 2023

Deploy Preview for edspresso-develop ready!

Name Link
🔨 Latest commit f2a625a
🔍 Latest deploy log https://app.netlify.com/sites/edspresso-develop/deploys/641f32b6e192d90008183723
😎 Deploy Preview https://deploy-preview-123--edspresso-develop.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@dkiatsongsak00 dkiatsongsak00 merged commit 4c2e239 into develop Mar 25, 2023
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.

2 participants