-
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
Adjust hero spacing on smaller screens #10379
Conversation
src/components/PageHero.tsx
Outdated
> | ||
<Heading | ||
as="h1" | ||
textTransform="uppercase" | ||
fontSize="md" | ||
fontWeight="normal" | ||
mt={{ base: "0px", lg: 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.
For some reason, base: 0
wasn't changing the base style at all here.
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.
Hmm I just tested it on my local and it worked as expected with base: 0
🤔
Sometimes the dev server does not update the components/styles automatically and you need to do a full refresh of the page.
Do you want to change it back to base: 0
and test it in the preview deploy? to discard that this is an issue with your local.
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.
Tried again local... same thing in all browsers 🤷♂️. Will update this PR and try in the preview deploy.
✅ ethereum-org-website-dev deploy preview ready
|
…on smaller screens
@nloureiro fixed in this commit. Basically:
|
All good on my side, approved :) |
Description
Was messing around with @nloureiro in GH grooming and we made some small improvements to the PageHero's spacing on smaller screens, further changes will improve it on the DS implementation but this is a nice quick win.
Related Issue
None