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

Universally Thin Scrollbars for Right Pane #959

Merged
merged 1 commit into from
Apr 15, 2024

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.

Changing the imports also has applied Prettier to the ordering of the imports for those two files. This seems to be nothing but a largely inconsequential improvement.

Edit: Apologies for the faulty PR prior to this. I have now fixed my version control and the ESLint issue I was having locally.

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

Copy link
Member

@MinhxNguyen7 MinhxNguyen7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MinhxNguyen7 MinhxNguyen7 merged commit f14bfc2 into main Apr 15, 2024
6 checks passed
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
2 participants