-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[website] Fix pricing table style #38681
Conversation
Netlify deploy previewhttps://deploy-preview-38681--material-ui.netlify.app/ Bundle size report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Collapse | ||
in={dataGridCollapsed} | ||
timeout={700} | ||
sx={(theme) => ({ | ||
position: 'relative', | ||
ml: 1.5, | ||
borderLeftWidth: '2px', | ||
borderLeftStyle: 'solid', | ||
borderColor: 'grey.100', | ||
...theme.applyDarkStyles({ | ||
borderColor: 'primaryDark.700', | ||
}), | ||
})} | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the main modification.
For a reason I ignore, all the nested element were nested thanks to some margin, and the left bar were made thanks to a box with absolute position.
I replaced all that with a margin-left and border-left on the Collapse item, such that all the children are translated to the right. Which allows to remove props nested
everywhere.
I did not found issue when resizing the window, including with smartphone debugger
@siriwatknp do you have a concern about this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…-ui into fix-pricing-style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! Thanks for this one! 🤙
Co-authored-by: Danilo Leal <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
Co-authored-by: Danilo Leal <[email protected]>
Co-authored-by: Danilo Leal <[email protected]>
Fix the left overflow of nested rows