-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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: popup layer close button z-index issueShow error #12485
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
WalkthroughThe update involves a styling modification to the 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 (
|
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/components/Quiz/QuizzesModal.tsx (1 hunks)
Additional comments: 1
src/components/Quiz/QuizzesModal.tsx (1)
- 43-43: The addition of
zIndex: '999'
to theModalCloseButton
is a straightforward solution to ensure its visibility. However, it's important to verify that thiszIndex
value does not conflict with other elements in the application. If the application uses a theme or design system that specifieszIndex
layers, consider referencing those values instead to maintain consistency and avoid hard-coded values.
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/components/Quiz/QuizzesModal.tsx (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/components/Quiz/QuizzesModal.tsx
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 @iepn
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: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Description
This issue arises due to the user's resolution height being too small, causing the button to be covered by the background of the content area.
ethereum-org-website/src/components/Quiz/QuizzesModal.tsx
Lines 42 to 45 in 88de114
Related Issue
https://discord.com/channels/714888181740339261/938069231570923550/1219383919305162865
This issue was raised by @UNOFFICIALbgd on the official ethereum.org channel. If you're concerned about security, you can use a privacy-focused browser to open it.
Summary by CodeRabbit
ModalCloseButton
in theQuizzesModal
component by adjusting its layering order.