-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Docs: Prevent layout shift caused by Carbon ads #41448
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
Labels
Comments
Should be simple enough to add a bootstrap/site/src/scss/_ads.scss Line 7 in 06f4e79
|
I haven't checked yet, but that could work if the ads always have the same height. |
Sure! |
10 tasks
Here it is. I hope it's all clear and haven't done anything weird! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
After the documentation migration, it's been noted that the Carbon Ads still cause a layout shift when they load, which can be a bit distracting. This issue actually existed before the migration as well, but it's worth revisiting to improve the overall user experience.
One possible solution could be to reserve space for the ad container ahead of time to prevent content from shifting during load.
To reproduce, one can go to https://getbootstrap.com/docs/5.3/components/button-group/ for instance.
The text was updated successfully, but these errors were encountered: