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.
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
Feat: Implement loading skeleton small screen width #43652
Feat: Implement loading skeleton small screen width #43652
Changes from 6 commits
20dc2de
038fead
db3f19e
e211f53
43cde3e
d3b95e3
4a7e860
284e32a
fc1a1fa
c33c891
269df4f
1c61053
5172df9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the padding on mobile for these cards is 12 vertical, and 16 horizontal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shawnborton Can you share the design about the "padding" you mentioned above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what the padding should look like:
![CleanShot 2024-06-14 at 17 28 36@2x](https://private-user-images.githubusercontent.com/2319350/339822175-205beafd-e67e-4109-a30d-aa4ce04761c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjY0NjksIm5iZiI6MTczOTMyNjE2OSwicGF0aCI6Ii8yMzE5MzUwLzMzOTgyMjE3NS0yMDViZWFmZC1lNjdlLTQxMDktYTMwZC1hYTRjZTA0NzYxYzgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDIwOTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzIxOTlmMmFlOGQyZDgyMjBkYjllZWM4YmU0Y2ExMWZiZGNkNmFiZWNhZDg5YzA0OWIxYWI2MmUwZGVjOWE0MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.8pCQE6uENqxw1Ux1q5709JFKGb12PgtFPhGkvN2vAO8)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And there should be an 8px gap between the content at the top of the row and the content at the bottom:
![CleanShot 2024-06-14 at 17 29 07@2x](https://private-user-images.githubusercontent.com/2319350/339822373-12b9ba6f-2813-4c65-9d5d-86501b28045b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjY0NjksIm5iZiI6MTczOTMyNjE2OSwicGF0aCI6Ii8yMzE5MzUwLzMzOTgyMjM3My0xMmI5YmE2Zi0yODEzLTRjNjUtOWQ1ZC04NjUwMWIyODA0NWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDIwOTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGVhYzg3OWM5MmM3YjU1ZTA1ZDVjMjA5ZGJkMzc0ZjhlOTFiYmNhNDkxZDViYjAxM2Y0ZDIxMzZmNzA1ODkxMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.HuQT4-V279VvVFFnQ-zctxzGXcQpEgk0QLQfNpUVjMU)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing any fancy math here, can we just say that this should be 16x16?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fancy math will help me when debugging. I will remove these once we do not have a design change any more. Also, in this case,
padding + circleRadius = 16