Skip to content
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

Improve Horizontal Scrollbar Visibility & Usability in Code Blocks (Chromium Fix) #774

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

roudra323
Copy link

Description:

🔧 Improve Horizontal Scrollbar Visibility & Usability in Code Blocks (Chromium Fix)

Description:

This PR enhances the horizontal scrollbar in code blocks, making it more visible and user-friendly in Chromium-based browsers. Previously, the scrollbar blended into the code block, making it difficult to use. Additionally, the border-radius issue on one side has been corrected.

📌 Note: This issue was specific to Chromium-based browsers (e.g., Chrome, Edge, Brave, etc.). In Firefox, the scrollbar worked fine both before and after this fix.

Changes:

  • Improved scrollbar visibility in Chromium browsers.
  • Introduced a subtle contrast between the scrollbar track and thumb.
  • Applied a border to the scrollbar thumb for better distinction.
  • Ensured smoother UI with rounded corners and hover effects.

Before & After (Chromium Browsers):

Before :
Before
After:
After

Testing:

  • Chrome/Edge/Brave: Issue reproduced before the fix, resolved after the fix.
  • Firefox: No change in behavior, worked fine before and after.

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.

1 participant