Skip to content

Conversation

AldinRekic
Copy link
Contributor

Margin of first and last grid item shift top and bottom row layout off-center.

Margin of first and last grid item shift top and bottom row layout off-center.
@MatanBobi
Copy link
Member

Hi @AldinRekic!
Thanks for the contribution.
Can you please share a screenshot for the before and after your changes?

@AldinRekic
Copy link
Contributor Author

AldinRekic commented Jun 23, 2022

Hey @MatanBobi! Here are the Screenshots!

Before:
beforeChange
After:
afterChange

Additional screenshots:
Before:
gridNoChange
After:
gridAfterChange

Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

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

You got a sharp eye! 👍

@alexkrolick
Copy link
Collaborator

Thanks - would it be possible to align the text baselines as well, while you're here? 🙏

@AldinRekic
Copy link
Contributor Author

@alexkrolick Svelte, React and React Native images are not 80x80 like the rest. Svelte width is under 80px but width doesn't cause vertical text shift. React and React Native (both are 80x73) images are causing the text baseline to shift. I would adjust all 3 images to have it nicely standardized (even though Svelte image doesn't cause any issues right now).

@timdeschryver
Copy link
Member

Going to merge this since it's already better than the current grid.
Feel free to create a follow up PR to align the baselines.

@timdeschryver timdeschryver merged commit ee2f427 into testing-library:main Jul 9, 2022
@timdeschryver
Copy link
Member

@all-contributors please add @AldinRekic for design

@allcontributors
Copy link
Contributor

@timdeschryver

I've put up a pull request to add @AldinRekic! 🎉

@AldinRekic AldinRekic deleted the patch-2 branch February 29, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants