Skip to content

[docs-infra] Fix visual look of in-house ad#42735

Merged
oliviertassinari merged 2 commits intomui:nextfrom
oliviertassinari:fix-ad-in-house
Jun 24, 2024
Merged

[docs-infra] Fix visual look of in-house ad#42735
oliviertassinari merged 2 commits intomui:nextfrom
oliviertassinari:fix-ad-in-house

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 type: bug It doesn't behave as expected. type: regression A bug, but worse, it used to behave as expected. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). labels Jun 23, 2024
{t('adblock')}
</Typography>
<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 siriwatknp requested a review from danilo-leal June 24, 2024 08:20
@siriwatknp
Copy link
Member

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

Copy link
Collaborator

@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
@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
@oliviertassinari oliviertassinari removed the type: bug It doesn't behave as expected. label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). type: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants