Skip to content
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

Fix: component padding on /stablecoins #12659

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

Dharmik79
Copy link

@Dharmik79 Dharmik79 commented Apr 4, 2024

Description

Added the padding between the warning and the text [Fixes #12649 ]

Preview link

https://deploy-preview-12659--ethereumorg.netlify.app/en/stablecoins

Related issue

@github-actions github-actions bot added content 🖋️ This involves copy additions or edits review needed 👀 labels Apr 4, 2024
Copy link

netlify bot commented Apr 4, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 93f2b9c
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/661574396c41690008769622
😎 Deploy Preview https://deploy-preview-12659--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@wackerow wackerow changed the title added the padding on the stablecoin page between warning and the text… Fix: component padding on /stablecoins Apr 8, 2024
Copy link
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Dharmik79! Left a request and a question

@@ -614,7 +614,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
<InfoBanner emoji="⚠️" isWarning>
Copy link
Member

@wackerow wackerow Apr 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest we place this on the InfoBanner as a margin bottom instead:

Suggested change
<InfoBanner emoji="⚠️" isWarning>
<InfoBanner emoji="⚠️" isWarning mb="4">

Also @konopkja, does 1rem look like enough here for you? The padding in the info banner and the margin between it and the header is 1.5rem for reference

src/pages/stablecoins.tsx Outdated Show resolved Hide resolved
@wackerow wackerow added the needs design approval 🧑‍🎨 Approval from a designer is needed before merging label Apr 8, 2024
Copy link
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small enough patch, I think this looks good and doesn't need to be blocked. Thanks @Dharmik79!

@konopkja if you want to adjust the amount just drop a message and we can update it separately.

@wackerow wackerow merged commit 467c920 into ethereum:dev Apr 10, 2024
6 checks passed
Copy link

gitpoap-bot bot commented Apr 10, 2024

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

Be sure to join the Ethereum.org discord if you are interested in contributing further to the project or have any questions for the team.

GitPOAP: 2024 Ethereum.org Contributor:

GitPOAP: 2024 Ethereum.org Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@wackerow
Copy link
Member

@all-contributors please add @Dharmik79 for bug fix

Copy link
Contributor

@wackerow

I've put up a pull request to add @Dharmik79! 🎉

This was referenced Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits needs design approval 🧑‍🎨 Approval from a designer is needed before merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI Bug report: missing padding on stablecoins page
2 participants