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
Make scroll bars wider #7060
Make scroll bars wider #7060
Conversation
Should overwrite the setting in reset.scss. This is untested at this point.
Set scrollbars to 12 px wide rather than 8px
@@ -125,3 +125,8 @@ button { | |||
outline: 0 !important; | |||
} | |||
} | |||
|
|||
::-webkit-scrollbar { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, bit confused by your request for changes. Do you want (a) me to change the width and height to 12px in the I think (a) is a strange move-- generally css reset files serve the purpose of zeroing out or normalizing properties so that ever user has the same defaults, reducing browser inconsistencies. Hence why, in my original PR, I chose to "overwrite" the Thus, in these new changes, I assumed you meant I should take route (b)-- remove the scrollbar height and width specifications altogether. My hope here is that browsers will fall back on some sort of system setting, which will like be wide enough to click and drag. This could even be a good move from an accessibility stand point. Let me know if that was not the change you were thinking of. |
Psyched that this got merged! My first contribution to Mastodon! I'm assuming you've tested this on a few browsers and it looks good? I'm only worried cuz I have yet to get Mastodon to run locally (due to unrelated Ruby gem problems on my home machine), and I can't quite produce it via Chrome's Inspect Element. |
yeah i think this broke scrollbars on chrome |
Ack, that's what I was worried about. Maybe we should just change the hard-coded |
This reverts commit 1171545.
I think the scroll bars on Mastodon's front-end could be a bit wider than 8px. I probably didn't execute this exactly right, but I tried to bump it up to 12px in
basics.scss
(I admittedly did not spend a lot of time trying to figure out which scss file).Also, I couldn't figure out how to test this cuz I couldn't figure out how to install Ruby 2.5.1 on my machine :(
So in general this is not a great PR haha. But my request still stands -- wider scroll bars would be nice.