-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Refactor HorizontalCard for Chakra UI #7893
Conversation
✅ ethereum-org-website-dev deploy preview ready
|
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.
Good job @amm98d thanks for opening a new PR.
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.
For some reason, this version doesn't look the same as in prod. Check the following examples. They are from https://ethereum.org/en/stablecoins/
I encourage you to try to see where the issue is. If not, later I'll try to debug it myself.
@pettinarip not able to find it :( |
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.
Hello! 😄
Left a comment regarding the outstanding issue.
src/components/HorizontalCard.tsx
Outdated
<Description>{description}</Description> | ||
<Flex borderRadius="base" className={className}> | ||
<Emoji fontSize={`${emojiSize}rem`} text={emoji} /> | ||
<Flex grow="0" shrink="1" basis="75%" ml="8"> |
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.
@ameeetgaikwad and @pettinarip: Your culprit is this Flex
component, when it should just be a Box
. You will need to reword the other props.
<Box flexGrow='0' flexShrink='1' flexBasis='75%' ml="8">
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'll work on that
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.
Thanks, @ameeetgaikwad and @TylerAPfledderer. Will circle back in a couple of days
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.
@pettinarip @corwintines check this out! I've done the required changes
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.
lgtm! thanks @ameeetgaikwad
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2022 Ethereum.org Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
@ameeetgaikwad be sure to join the discord if you are interested in contributing further to the project or have any questions for the team. And we've just released our 2022 POAPs so remember to claim yours also 🥳! |
@all-contributors please add @ameeetgaikwad for code |
I've put up a pull request to add @ameeetgaikwad! 🎉 |
I've put up a pull request to add @jakebolam! 🎉 |
I've put up a pull request to add @ameeetgaikwad! 🎉 |
Description
Refactored
HorizontalCard
component for Chakra UI.