Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMake scroll bars wider #7060
Conversation
sts10
added some commits
Apr 7, 2018
| @@ -125,3 +125,8 @@ button { | ||
| outline: 0 !important; | ||
| } | ||
| } | ||
| + | ||
| +::-webkit-scrollbar { |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
sts10
Apr 11, 2018
Contributor
Sorry, bit confused by your request for changes. Do you want (a) me to change the width and height to 12px in the reset.scss file rather than in the basics.scss file or (b) remove scrollbar height and width specifications altogether.
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 8px in basics.scss.
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.
|
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. |
Gargron
merged commit 1171545
into
tootsuite:master
Apr 17, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
sts10
Apr 19, 2018
Contributor
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
yeah i think this broke scrollbars on chrome |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
sts10
Apr 19, 2018
Contributor
Ack, that's what I was worried about.
Maybe we should just change the hard-coded 8px to 12px, either in basics.scss or reset.scss, rather than removing the specification altogether.
|
Ack, that's what I was worried about. Maybe we should just change the hard-coded |
sts10 commentedApr 7, 2018
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.