Skip to content

Conversation

@std-microblock
Copy link
Member

No description provided.

@vercel
Copy link

vercel bot commented Dec 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
cppdoc Ready Ready Preview Comment Dec 3, 2025 7:01am

@vercel
Copy link

vercel bot commented Dec 3, 2025

Deployment failed with the following error:

Resource is limited - try again in 2 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/microcbers-projects?upgradeToPro=build-rate-limit

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves scrollbar styling by making it more compact and adding Firefox browser support. The changes refactor the scrollbar CSS to use a cleaner pattern with base styles and theme overrides, reduce the scrollbar width from 8px to 4px, and add Firefox-specific scrollbar properties. Additionally, it improves the overflow behavior in the declaration component.

Key changes:

  • Added Firefox scrollbar support using scrollbar-width and scrollbar-color properties
  • Reduced scrollbar width from 8px to 4px with updated colors for both light and dark themes
  • Changed overflow from scroll to auto in Decl component for better UX

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/styles/custom.css Refactored scrollbar styles to support Firefox, reduced scrollbar width to 4px, updated colors for both webkit and Firefox browsers
src/components/decl-doc/Decl.astro Changed overflow from scroll to auto to only show scrollbars when needed

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

:root[data-theme="light"] ::-webkit-scrollbar-track {
background: #f1f1f1;
::-webkit-scrollbar {
width: 4px;
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

[nitpick] The ::-webkit-scrollbar selector only sets the width property for vertical scrollbars. For horizontal scrollbars to match the same thin styling, consider adding height: 4px; as well to maintain consistency.

Suggested change
width: 4px;
width: 4px;
height: 4px;

Copilot uses AI. Check for mistakes.
@Lancern Lancern merged commit 407036c into main Dec 4, 2025
8 of 9 checks passed
@Lancern Lancern deleted the fix-scrollbar branch December 4, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants