Fix TweetCard avatar shrinking in grid/flex layouts#851
Merged
itsarghyadas merged 1 commit intomagicuidesign:mainfrom Jan 12, 2026
Merged
Fix TweetCard avatar shrinking in grid/flex layouts#851itsarghyadas merged 1 commit intomagicuidesign:mainfrom
itsarghyadas merged 1 commit intomagicuidesign:mainfrom
Conversation
|
@coderomm is attempting to deploy a commit to the product-studio Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
@dillionverma Hey! I noticed a small layout issue with TweetCard avatars I’ve added a short before/after screenshots for clarity. |
b702150 to
5b3cbcd
Compare
Collaborator
|
hey @coderomm good catch. but you need to add the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Prevents the TweetCard avatar from shrinking when rendered inside grid or flex-based layouts.
Why
When multiple TweetCard components are placed in a constrained layout, the avatar container was allowed to shrink to accommodate the right-side content (username, name, etc.), resulting in inconsistent avatar sizes across cards.
How
Applied
shrink-0to the avatar container to prevent flexbox from shrinking the avatar and ensure consistent sizing.Proof
Added before/after screen screenshots demonstrating:
Notes
Bug Preview
Fix Preview
Closes #850