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

UX css little improvement #530

Closed
1ucay opened this issue Jan 26, 2025 · 3 comments
Closed

UX css little improvement #530

1ucay opened this issue Jan 26, 2025 · 3 comments

Comments

@1ucay
Copy link

1ucay commented Jan 26, 2025

Hi, if you have long revision ( more than approx 9 rows" and hover to it, it will reduce width due scrollbar visibility. It is not so nice.... Thank you

.SimpleHistory__diff__contents {
    scrollbar-gutter: stable both-edges;
}
@bonny
Copy link
Owner

bonny commented Jan 27, 2025

Thanks, I have not used the scrollbar-gutter CSS property before.

@bonny
Copy link
Owner

bonny commented Jan 27, 2025

Omg, so much better!

Before

quick-diff-before.mp4

After

quick-diff-after.mp4

@1ucay
Copy link
Author

1ucay commented Jan 27, 2025

Hi, I think you can use also
https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-width
for thickness scrollbar.

@bonny bonny closed this as completed in d99294e Feb 2, 2025
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

No branches or pull requests

2 participants