testing-library / testing-library-docs

docs site for @testing-library/*
https://testing-library.com
MIT License
451 stars 701 forks source link

feat/fix layout shifts #1392

Closed denisx closed 3 months ago

denisx commented 4 months ago

What you did:

Adds image dimensions to fix layout shifts

What happened:

When images don't have dimensions, layout can shift at slow connection

netlify[bot] commented 4 months ago

Deploy Preview for testing-library ready!

Name Link
Latest commit cdcda47e0f3cad3cf1d5dc1b256d071dd88d3650
Latest deploy log https://app.netlify.com/sites/testing-library/deploys/665635b49c6a1d0008aa4556
Deploy Preview https://deploy-preview-1392--testing-library.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

MatanBobi commented 3 months ago

@all-contributors please add @denisx for code :)

allcontributors[bot] commented 3 months ago

@MatanBobi

I've put up a pull request to add @denisx! :tada: