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 visual look of in-house ad #42735

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jun 23, 2024

Fix regression introduced in #39603 and #42498.

#39603 introduced the broken anchor blue color

#42498 introduced the broken style rendering logic

Before

SCR-20240623-tfzn

After

SCR-20240623-uaec

Preview https://deploy-preview-42735--material-ui.netlify.app/material-ui/getting-started/

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work regression A bug, but worse scope: docs-infra Specific to the docs-infra product labels Jun 23, 2024
<Typography variant="body2" component="span" gutterBottom sx={{ display: 'block' }}>
<Typography variant="body2" component="span" sx={{ display: 'block' }}>
Copy link
Member Author

@oliviertassinari oliviertassinari Jun 23, 2024

Choose a reason for hiding this comment

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

A side win, avoid a layout shift when <PleaseDisableAdblock /> triggers. It's a bit too tall, removing the margin makes it fit within AD_HEIGHT.

@mui-bot
Copy link

mui-bot commented Jun 23, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against eef16bc

@siriwatknp
Copy link
Member

@danilo-leal Can you verify from a design perspective?

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!

@oliviertassinari oliviertassinari enabled auto-merge (squash) June 24, 2024 15:28
@oliviertassinari oliviertassinari merged commit 280c2fa into mui:next Jun 24, 2024
21 checks passed
@oliviertassinari oliviertassinari deleted the fix-ad-in-house branch June 24, 2024 15:41
@oliviertassinari
Copy link
Member Author

Oh actually, I saw another regression while I was checking the other links. Fixing this in: #42743.

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 regression A bug, but worse scope: docs-infra Specific to the docs-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants