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

[docs-infra] Fix anchor links in API pages #40450

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work scope: docs-infra Specific to the docs-infra product labels Jan 6, 2024
@mui-bot
Copy link

mui-bot commented Jan 6, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 713b4c9

targetName={pageContent.name}
componentName={pageContent.name}
Copy link
Member Author

Choose a reason for hiding this comment

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

I went with a solution that minimize the number of types that we manipulate. It seems simpler to kebab case convert at the very end.

Copy link
Member

@alexfauquette alexfauquette left a comment

Choose a reason for hiding this comment

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

I noticed classes did not have the wrapper because they did not have the scrollMarginTop property. I'm adding a commit to fix that.

The scroll is not well aligned for the first two row, because the scroll margin top is blocked by the overflow hidden

https://stackoverflow.com/questions/70212566/the-scroll-margin-top-property-doesnt-work-when-using-a-container-with-overflo

I tried different config but nothing worked on chrome, so I dropped the topic

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jan 8, 2024

because the scroll margin top is blocked by the overflow hidden

Oh wow, I didn't know this. Another reason why #40476 then 😄

@oliviertassinari oliviertassinari merged commit f8e820a into mui:master Jan 8, 2024
19 checks passed
@oliviertassinari oliviertassinari deleted the api-fix-classname branch January 8, 2024 12:56
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work scope: docs-infra Specific to the docs-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants