-
Notifications
You must be signed in to change notification settings - Fork 93
fix: corrected scroll of main component at client mods; feat: improoved ux #341
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
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
WalkthroughThe changes adjust the scrolling and layout behavior across several React components and CSS modules. Inline style enforcement of Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant FullscreenDiv
participant CSS
User->>FullscreenDiv: Render with optional style prop
FullscreenDiv->>CSS: Apply only passed styles (no forced overflow)
User->>CSS: CSS modules control scrolling and layout for mod list and sidebar
User->>CSS: Main screen content overflow managed by CSS (.screen-content)
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
/deploy |
Deployed to Vercel Preview: https://prismarine-67krg79kp-zaro.vercel.app |
/deploy |
Deployed to Vercel Preview: https://prismarine-8psio64f7-zaro.vercel.app |
PR Type
Bug fix, Enhancement
Description
Fixed scroll behavior in main and sidebar components for better UX.
.screen-content
overflow tohidden
to resolve scroll issues.overflow: auto
.Cleaned up inline styles and comments for clarity.
Changes walkthrough 📝
mods.module.css
Adjust sidebar and mod list heights, enable sidebar scrolling
src/react/mods.module.css
.modList
min-height for vertical layouts..sidebar
min-height and enabled scrolling withoverflow: auto
.screens.css
Update screen-content overflow to fix scrolling
src/screens.css
.screen-content
overflow fromauto
tohidden
.height: fit-content
for testing scroll fix.Screen.tsx
Remove overflow style from fullscreen container
src/react/Screen.tsx
overflow: auto
from fullscreen container.ModsPage.tsx
Minor formatting fix in onButtonClick method
src/react/ModsPage.tsx
onButtonClick
method.Summary by CodeRabbit