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

[website] Fix home page slider's track position #42141

Merged

Conversation

aarongarciah
Copy link
Member

@aarongarciah aarongarciah commented May 6, 2024

It looks like #41547 introduced a small visual glitch on the home page slider because the slider track ends are not centered within the slider thumbs.

before after
Screenshot 2024-05-06 at 10 03 19 Screenshot 2024-05-06 at 10 16 34
Screenshot 2024-05-06 at 10 03 37 Screenshot 2024-05-06 at 10 16 24

@aarongarciah aarongarciah added the website Pages that are not documentation-related, marketing-focused. label May 6, 2024
@@ -70,7 +70,6 @@ export default function ThemeSlider() {
fontWeight: 'semiBold',
},
[`& .${sliderClasses.thumb}`]: {
mx: -1,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danilo-leal everything seems to work just fine, but let me know if there was another reason to include this.

@mui-bot
Copy link

mui-bot commented May 6, 2024

Netlify deploy preview

https://deploy-preview-42141--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 80a9980

@aarongarciah aarongarciah added the needs cherry-pick The PR should be cherry-picked to master after merge label May 6, 2024
@aarongarciah aarongarciah force-pushed the aarongarciah/fix-home-page-slider branch from 3809fe7 to 80a9980 Compare May 6, 2024 09:05
Copy link
Contributor

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! That margin there was to offset a bug within the Slider itself, which got fixed, thus making it unnecessary :) Good catch.

@aarongarciah aarongarciah merged commit a8b1ce1 into mui:next May 6, 2024
19 checks passed
@aarongarciah aarongarciah deleted the aarongarciah/fix-home-page-slider branch May 6, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs cherry-pick The PR should be cherry-picked to master after merge website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants