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] Minimize ad layout shift on mobile #40582

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 14, 2024

I was annoyed by this today while browsing the docs on my phone. This layout shift is not fun:

Screen.Recording.2024-01-14.at.01.56.10.mov

After, the layout shift can still happen (for the longest possible ad descriptions), but it's a lot less likely:

Screen.Recording.2024-01-14.at.01.55.20.mov

https://deploy-preview-40582--material-ui.netlify.app/material-ui/react-checkbox/

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

mui-bot commented Jan 14, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 1a1135d

@oliviertassinari oliviertassinari force-pushed the docs-infra-ad-layout-shift branch 2 times, most recently from 1c9e039 to 214e3c4 Compare January 14, 2024 01:03
@oliviertassinari oliviertassinari force-pushed the docs-infra-ad-layout-shift branch from 214e3c4 to 1a1135d Compare January 14, 2024 12:14
@oliviertassinari oliviertassinari merged commit 9e0af1b into mui:master Jan 14, 2024
@oliviertassinari oliviertassinari deleted the docs-infra-ad-layout-shift branch January 14, 2024 23:41
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.

None yet

2 participants