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] Remove display: flex from SectionTitle #42979

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

@mui-bot
Copy link

mui-bot commented Jul 17, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against fe042c9

@LukasTy LukasTy requested a review from a team July 17, 2024 11:12
Comment on lines -177 to -178
display: 'flex',
alignItems: 'center',
Copy link
Member Author

Choose a reason for hiding this comment

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

Do you have any why these attributes have been added in? 🤔

Copy link
Member

Choose a reason for hiding this comment

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

I do not manage to find when exactly we added it, because of the migration to the @mui/docs which pertubate the git blame

From what I remember, we struggled to have nice vertical alignment between the "anchor link", "comment link", and the title constent. But seems it's working well. So I suspect a DOM modification we did and forgot to remove this display flex

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for clarifying. 👌
Hopefully, this doesn't break some other sections that we are not aware of. 🙈

@LukasTy LukasTy merged commit b095749 into mui:next Jul 17, 2024
20 checks passed
@LukasTy LukasTy deleted the remove-display-flex-from-sectiont-title branch July 17, 2024 12:17
@oliviertassinari oliviertassinari added the bug 🐛 Something doesn't work label Jul 21, 2024
joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 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.

4 participants