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

fix(fe2): Make viewer controls scrollable when they overflow viewport #3768

Merged

Conversation

andrewwallacespeckle
Copy link
Contributor

image

This is not a perfect solution, but it's better than it is currently.

Right now, smaller screens clip the bottom of the viewer controls. You can see my screenshot above, and i'm on a decent mac, so others will definitely experience this.

There was a weird bg-green/0 class which i removed, and then added overflow-y-auto to the same div.

Now, when the menu overflows the viewport, our custom scrollbar appears. This should have no affect on users with large screens, but allows other users to access lower items.

@Mikehrn I discussed this one with Benjamin this morning and we talked about a larger rethink on this controls menu in the viewer. It's not worth spending time on a better solution right now, when this is all probably going to change pretty soon.

Copy link

linear bot commented Jan 7, 2025

@andrewwallacespeckle andrewwallacespeckle merged commit be51d29 into main Jan 8, 2025
26 of 28 checks passed
@andrewwallacespeckle andrewwallacespeckle deleted the andrew/web-2334-smaller-screens-view-menu-clips branch January 8, 2025 10:12
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.

2 participants