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

Make Scrollbar a Uniform Thinness for Right Pane #958

Closed
wants to merge 4 commits into from

Conversation

adcockdalton
Copy link
Collaborator

Summary

This ended up being a really simple fix. To avoid creating unnecessary instances of GlobalStyles, I moved the one from CourseRenderPane.tsx into RightPaneRoot.tsx. Now all scrollbars on the right have unified thinness, which is the intended functionality, and are properly affected by one line rather than duplicate lines.

Test Plan

Test the styling
Search CompSci
Add a bunch of random classes
Resize the window to show horizontal scrollbars
Confirm on Search and Added that they as well as their vertical counterparts are all thin

Test the lag
Scroll all the way down on a search or CompSci then use the back arrow and confirm no lag was reintroduced

Issues

Closes #938 without breaking #902 , thereby expanding #738

@adcockdalton
Copy link
Collaborator Author

Looking at this PR I'm realizing there might be some version control wonkiness--this was supposed to be a 2 file change and this PR is showing 11. Looking into it

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.

Horizontal scrollbar is thicker on added courses pane
1 participant