-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Migrate Layer2ProductCard to Chakra #8007
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
Conversation
✅ ethereum-org-website-dev deploy preview ready
|
src/components/Layer2ProductCard.tsx
Outdated
className="hover" | ||
> | ||
<Box> | ||
<Heading as="h3" mt="0" mb={3}> |
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.
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.
So it seems chakra sizing for h3 "lg"
is bigger than the sizing y'all are using. I messed around with the font size and used "24px" but when the screen size resolution goes to phone the font is smaller than what is being used in the prod version. The closest I got to it looking to the prod version is using size="md"
.
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.
Oh ok, good point. Lets use 3xl
instead of md
that is slightly smaller than the one we were using here (which was 2rem
).
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.
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.
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 @ImMiguelP 💪🏼
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. |
Description
Migrates
Layer2ProductCard
component fromemotion
tochakra-ui
Related Issue
#6374