(feat): added the scroll bar#102
Conversation
WalkthroughThe CSS file was updated to add custom WebKit scrollbar styling, including specific dimensions, colors, gradients, and rounded corners. Additionally, a missing closing brace was added to the Changes
Poem
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 (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
landing/src/index.css (1)
43-61: Scrollbar styling lacks Firefox/Edge support & misses a11y considerations
The new WebKit-only rules look good on Chromium/Safari, but they are ignored by Firefox and (soon) Edge. Consider adding standards-based fallbacks and revisiting color contrast:/* Webkit Scrollbar Styling */ ::-webkit-scrollbar { … } +/* Firefox / future-compatible */ +html { + scrollbar-width: thin; /* auto | thin | none */ + scrollbar-color: #167a16 #000; /* thumb track */ +} + /* Optional focus-visible outline for keyboard users */ +:focus-visible { + outline: 2px solid #22c55e; /* Tailwind green-500 */ + outline-offset: 2px; +}Benefits:
• Consistent theming across major browsers
• Meets WCAG contrast on dark backgrounds
• Provides clearer focus indication for keyboard navigation
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
landing/src/index.css(1 hunks)
🔇 Additional comments (1)
landing/src/index.css (1)
40-42: Fixed missing brace – nice catch
The.radial-gradient-bgrule is now syntactically complete, preventing the rest of the stylesheet from being swallowed by the open block.
|
@smokeyScraper |
|
not a feature that we explicitly planned, but it seems clean enough to be merged! |
Closes #
📝 Description
Added the scoll bar
📷 Screenshots or Visual Changes (if applicable)
🤝 Collaboration
Collaborated with:
@username(optional)✅ Checklist
Summary by CodeRabbit
.radial-gradient-bgclass.