-
Notifications
You must be signed in to change notification settings - Fork 5k
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: run-a-node page content alignItems #12467
Conversation
WalkthroughThe update involves enhancing the styling of specific Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- src/pages/run-a-node.tsx (2 hunks)
Additional comments: 2
src/pages/run-a-node.tsx (2)
- 865-865: The addition of
sx={{ display: 'flex', alignItems: 'center' }}
to the<H3>
element with the ID "plan-on-staking" correctly applies CSS Flexbox properties to achieve horizontal centering. This change aligns with the PR's objective to enhance visual alignment.- 878-878: The addition of
sx={{ display: 'flex', alignItems: 'center' }}
to the<H3>
element with the ID "rasp-pi" also correctly applies CSS Flexbox properties for horizontal centering. This change addresses the initial concern regarding the ID duplication and correctly targets the intended element.
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.
Looks good! Just updated these to use style props since they're Chakra components under-the-hood. Thanks @iepn!
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- src/pages/run-a-node.tsx (2 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/pages/run-a-node.tsx
This approach is very concise, thank you. Using So I also adopted your approach in #12485, it's very concise and comfortable. |
@all-contributors please add @iepn for code |
I've put up a pull request to add @iepn! 🎉 |
Description
Let them be horizontally centered!
ethereum-org-website/src/pages/run-a-node.tsx
Lines 865 to 881 in 90e4310
You can preview it here: https://deploy-preview-12467--ethereumorg.netlify.app/en/run-a-node/
And also refer to the current page for comparison: https://ethereum.org/en/run-a-node/
Summary by CodeRabbit
Summary by CodeRabbit