-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[material-ui][Slider] Fix spacings in .md files #45388
Conversation
sai6855
commented
Feb 24, 2025
•
edited
Loading
edited
- I have followed (at least) the PR section of the contributing guide.
Netlify deploy previewBundle size report |
@@ -2011,35 +2011,35 @@ Here's how to migrate: | |||
MuiSlider: { | |||
styleOverrides: { | |||
root: { | |||
- [`&.${sliderClasses.thumbSizeSmall}`]: { |
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.
thumbSizeSmall
class is applied to thumb
, not root
. hence, a space has been added here.
docs for same -> https://mui.com/material-ui/api/slider/#slider-classes-MuiSlider-thumbSizeSmall
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.
Thanks @sai6855
Cherry-pick PRs will be created targeting branches: v6.x |
- [`& .${sliderClasses.thumbColorInfo}`]: { | ||
+ [`& .${sliderClasses.thumb}.${sliderClasses.colorInfo}`]: { |
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.
Hey @sai6855, I just noticed after merging that this is the other way around. It should be
[`&.${sliderClasses.colorInfo} > .${sliderClasses.thumb}`]: {
May I ask you to open a PR to update it?
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.
Sure I'll open PR